Please disable your adblock and script blockers to view this page

Search this blog

Showing posts with label Clear table Filter. Show all posts
Showing posts with label Clear table Filter. Show all posts

Thursday, 25 October 2012

Clear af:table Filter Value declaratively in ADF, Reset table filter

When we use table component with filter, and we have to manually clear the data that we search by filter.
but ADF provides functionality to clear filter data by one click on Filter icon.

When We drop table on page and it looks like this

af:table , Tabular data in Oracle ADF

Now we have to set atleast one column with RowHeader --true in propertyInspector of table Column.
It mean select table column and go to property Inspector and Set RowHeader to true



Set Row Header Property of af:table to true

Now run the page, and search something using table filter

Clear filter icon on column that has Rowheader true

Now click on the clear icon that is appearing on head of column , for that we have set RowHeader to true
Click on clear filter icon to reset af:table filter

and your table filter get cleared when you click on that icon.

Cheers :) Happy Learning