Tuesday, November 2, 2010

ADF UI - How to get 'Format' menu for table in af:panelCollection?

TO get the 'Format' menu in af:panelCollection, set columnSelection="multiple" for the af:table inside panelCollection. Actually, setting columnSelection="multiple" will allow user to select multiple table columns at once and apply formatting (Like resizing columns, wrapping the content in the columns, etc.,) and it'll also render a footer for the table which will show status messages like 'columnsHidden'.
<af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row" rows="#{bindings.EmpDeptVO.rangeSize}" emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}" fetchSize="#{bindings.EmpDeptVO.rangeSize}" rowBandingInterval="0" selectedRowKeys="#{bindings.EmpDeptVO.collectionModel.selectedRow}" selectionListener="#{bindings.EmpDeptVO.collectionModel.makeCurrent}" rowSelection="single" id="t1" styleClass="AFStretchWidth" columnSelection="multiple" first="0" contentDelivery="immediate" autoHeightRows="10">

Format menu in panelCollection:
Status bar showing 'Columns Hidden':


  1. Is there a way I can hide the columns hidden message

    1. Can you please tell us how can we do it, if u have already fixed it.

  2. Thank you so much for taking the time for you personally to share such a nice info. I definitely enjoying every little bit of it. It is a great website and nice share.
    White card wa

  3. I urge all the people to be associated with this blog. I will also add from the block to the next.There are very good information in this blog. This is my promise. Please help me. I am very happy to read it.
    Andheri escorts
    Andheri independent escorts
    Andheri call girls
    Mumbai Escorts
    Mumbai Call Girls
    Mira Road Call Girls
    Goregaon Escorts

  4. I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. ICF Blocks

  5. It's my destiny to visit this blog and find out my required paragraph along with video demo, that’s YouTube video and its also in quality.

    Software developers in UK


Related Posts with Thumbnails