Filter-Types
This property specifies the filtering property of the Grid control columns. Multiple values can be specified enclosed between parentheses. Values are applied to cells, starting from the first. Filter types are represented by single numbers.
Valid values are:
0
No filter. This is the default.
1
One-time filter. A funnel icon is shown on the column header. When clicked, the list of distinct values found in the column is shown. The user can select the desired values and click OK to filter the Grid content on these values. Clicking again on the funnel icon removes the filter.
2
Editable filter. A funnel icon is shown on the column header. When clicked, the list of distinct values found in the column is shown. The user can select the desired values and click OK to filter the Grid content on these values. Clicking again on the funnel icon shows the list again, allowing you to change the values for the filter.
Any value other than the ones described above is equivalent of 1.
 
The icons displayed on the heading can be customized by providing custom PNG files as described in Default icons.
The user requests the filter by clicking on the column header, so the Column-Headings style must be set.
The empty row produced by setting Num-Rows to "-1" is hidden when a filter is applied, as the empty value doesn’t match with any value used by the filter.
The values in the list dropped by clicking on the funnel icon are ordered according to the column’s Data-Types.
This property overrides the Filterable-Columns style. If both are set, the runtime behaves as if only Filter-Types was set.
 
Example - Define a grid where column 1 and 4 are filterable, but they use two different kinds of filter
screen section.
...
  03 screen-1-gr-1 Grid
     line 5.7
     column 3.1
     size 34.6 cells 
     lines 15.5 cells 
     help-id 5040
     id 1
     event procedure screen-1-gr-1-evt-proc
     boxed
     column-headings
     hscroll
     heading-color 200
     heading-divider-color 12
     cursor-frame-width 3
     display-columns (1, 10, 20, 30)
     filter-types (1, 0, 0, 2)
     num-rows 5
     .