Tuesday, November 2, 2010

ADF UI - Hiding 'Detach', 'Wrap' and 'Freeze' icons from af:panelCollection

If you dropped af:table inside af:panelCollection, then by default the buttons 'Datach' button icon will be rendered. Similarly, if you specify columnSelction="multiple", the buttons 'Wrap' and 'Freeze' will be rendered by default. So, if you want to hide those buttons, just specify featuresOff="detach freeze wrap" for af:panelCollection.

Sample code below:
<af:panelCollection id="pc1" styleClass="AFStretchWidth" featuresOff="detach freeze wrap">

PanelCollection without "featuresOff" set:

After setting featuresOff="detach freeze wrap":

As you can see, the panelCollection is clean without 'Detach', 'Freeze' and 'Wrap' icons after setting featuresOff="detach freeze wrap" .

9 comments:

  1. Replies
    1. Great Article android based projects

      Java Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Kuchi Jewels is a project of Gem & Gems which is a leading exporter since 2005 to onwards in all over the world. Our company has experienced, educated and motivated staff. Our main goal is to meet the international standard B2C and B2B export target with competitive prices and high quality products. mama necklace wholesale france , mama necklace wholesale uk

    ReplyDelete

Related Posts with Thumbnails