[Solved] - Advance filter popup question!

Hi,
When I switched from datatable to dynamicdt and reassigned datasource I was able to reformat the column (format gridnumeric / griddate), everything displayed was ok!


However, the popup advance filter returns the text column for every column.
I changed .filterpopupmode but failed!
                e.Column = New GridNumericColumn() With {
                            .HeaderText = e.Column.HeaderText, .FilterPopupMode = FilterPopupMode.Both,
                            .MappingName = e.Column.HeaderText, .AdvancedFilterType = AdvancedFilterType.NumberFilter
                            }
Where was I wrong? I also can't filter nummeric: greaterthan, .. by code. maybe because it's text.
Thanks you!



3 Replies

SS Susmitha Sundar Syncfusion Team May 11, 2020 03:39 PM UTC

Hi GridLock, 

Thank you for using Syncfusion controls. 

In SfDataGrid, columns are generated based on corresponding property type. For example, if you have integer property, SfDataGrid generated the GridNumericColumn type and it has the NumericFilter. We have prepared the sample based on your reported case. Please refer the below sample, 


Please check the above sample and revert us if you still facing the same issue? If yes, please modify the sample based on your scenario. It will be helpful for us to check on it and provide you the solution at the earliest.     
   
Regards,   
Susmitha S   




TG The GridLock May 12, 2020 03:12 AM UTC

Hi Susmitha,
I did not realize this!


SS Susmitha Sundar Syncfusion Team May 12, 2020 07:05 AM UTC

Hi GridLock, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Susmitha S 


Loader.
Up arrow icon