Hide Grid Indexes and Filters
Grid Control 2.0
Hide Grid Indexes and Filters
By default, the grid displays the filter row. When the filter row is displayed, the user is not able to hide it.
If you have a custom filter console in the view, you can disable the filter row. When the filter row is disabled, the user is not able to show the filter row.
To disable the filter row:
<panel type="grid" ... showIndexAndFilterOnLoad="false">
The following setting controls display of the filter row:
-
showIndexAndFilterOnLoad
– The global setting in
WEB-INF/config/context/controls/grid/controls-grid.xml
controls whether grid panels display the index and filter bars upon view loading. By default, the filter bar always shows:
<panel type="grid" ... showIndexAndFilterOnLoad="true">
You can overwrite this setting for each grid panel in AXVW views:
<property name="" value="false"/>