Auto Filtering
If you set the autoFilter property of a column to true without creating filters one by one, a filter is automatically created by removing duplicate values in the data cell.
If the filter selector option activeWhenEnter is true, the entire list will be selected when you press Enter after searching.
If you type "가" in the filter search box and press Enter, you can see that the entire searched list is selected.
Automatic filter assignment
Automatic filter creation in the investment country column.
gridView.setColumnProperty("KorCountry", "autoFilter", true);After searching for a filter, press Enter to activate the searched filter.
gridView.filteringOptions.selector.activeWhenEnter = true;Automatic Filter + Custom Filter
You can set automatic filtering and custom filter at the same time.
gridView.filteringOptions.automating.userFilterPosition = "first";
gridView.setColumnProperty("Age", "autoFilter", true);
gridView.addColumnFilters(gridView.columnByName("Age"), [
{
name: "customFilter",
criteria: "value > 50"
}
]);