Tips on using <af:panelCollection>

A couple of tips on using <af:panelCollection>
1. Use space delimiter if you want to turn off multiple 'default features' for the <af:panelCollection>
Example:
<af:panelCollection id="pc1" featuresOff="detach freeze wrap" >

2. If you don't want the end user to hide specific columns using the 'View->Columns' option, set showRequired="true" for those columns. This setting will disable the columns in the 'View' menu.

Comments

  1. Is there a way to hide the view menu on the ?

    ReplyDelete
  2. Jeeven
    You can use featuresOff="viewMenu"
    e.g:
    featuresOff="statusBar viewMenu formatMenu showAsTopMenuItem showAsTopToolbarItem detach"

    ReplyDelete
  3. Hi Jobinesh

    Can you confirm which version of JDev/ADF the featuresOff="viewMenu" became available please? We're using:

    featuresOff="detach viewMenu"

    ...under JDev 11.1.1.2.0. The detach option is gone, but the View menu is still available.

    Regards,

    CM.

    ReplyDelete
  4. Chris,
    Oh may bad... Sorry for my oversight, 'featuresOff=viewMenu' appears to be not included as part of PS2 - (may be, part of future release)

    ReplyDelete
  5. No worries, thanks for the prompt update.

    CM.

    ReplyDelete
  6. what about the action menu? Is there a way to hide the action menu?

    ReplyDelete
  7. Hi Jobinesh ..Nice blog .... Can we turn Query by Example "filter" icon off yet ? Thanks.

    ReplyDelete
  8. featuresOff="wrapMenuItem showAsTopMenuItem"....Coooll

    Regards
    Palanivel.

    ReplyDelete

Post a Comment

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of my employer.