RealGrid2 Guide
Column
Filter selector data order🆕

Filter Selector Data Order

FilterAutomatingOptions.selectorDataOrder allows you to specify the order in which the filter selector list is calculated when filters are applied to multiple columns.

SelectorDataOrder Settings

The example below demonstrates how the selector item structure changes when changing the selectorDataOrder value in a filteredDataOnly = true environment.

gridView.filteringOptions.automating.filteredDataOnly = true;
gridView.filteringOptions.automating.selectorDataOrder = "selectionExcludeCurrent";

Configurable values:

  • none: Create a list based on filtered data.
  • order: Reference filters in the order they appear on the screen.
  • selection: Reference filters in the order the user selects.
  • selectionExcludeCurrent: Create a list based on filters excluding the current column.
  • selectionPersistent: Maintain the user-selected order until the initialization.