Posted 20 September 2022, 5:55 pm EST
Hi,
I am using FlexGrid control with Client side filtering similar to below filter :
Ref: https://www.grapecity.com/wijmo/demos/Grid/FilteringSearching/Filter/angular
this.flex.collectionView.filter = (item: any) => {
return filter.length == 0 || item.country.toLowerCase().indexOf(filter) > -1
}
Problem: When the filter value does not match (Invalid filterText)with any of record in the Grid, the grid should become empty and the filter icon in the column header should be active and emphasized , So that user knows where filters as applied irrespective of valid or invalid filterText
The Filter icon is getting active only in case of valid Value filter (when there is data in the grid matching to filterText)
The filter icon should be denoting that filter applied both in case of Data and No data situation.
The Grid should become empty in case of no matching records , considering the filters applied in above way.
Please provide assistance on this at the earliest convenience as this is impacting the production.