Posted 25 October 2021, 10:26 am EST
How can I limit the number of items in the flex grid filter dialog? If the columns contain a lot of unique value the filter dialog takes a very long time to open.
Thanks
Forums Home / ComponentOne / WinForms Edition
Posted by: Ranba790 on 25 October 2021, 10:26 am EST
Posted 25 October 2021, 10:26 am EST
How can I limit the number of items in the flex grid filter dialog? If the columns contain a lot of unique value the filter dialog takes a very long time to open.
Thanks
Posted 26 October 2021, 6:06 am EST
Hi,
Sorry but you can not change the number of items shown in the filter form. The number of items shown in the filter form is generated from the values in the column and shown in the ValueFilter UI.
If you have a lot of unique values in the column then as a workaround you can set the Filter property of the column to ConditionFilter, it will prevent any delay in the filter form opening as the ValueFilter UI will not be shown and you can use the condition filter to apply filters. Please refer to the sample attached.
Regards
Avnish