I am using webdatagrid V12.2
I am using row filter to filter my data. Do we have an option to limit the filtering options ? like I want only a subset of options available say equals, not equals, contains .
Is there a way that we can limit these values from Server side code?
Thanks,
Pakodi
Hello Pakodi,
Thank you for contacting us.
Version 12.2 of our ASP.NET Controls is retired and longer supported. Please take a look at our Product Lifecycle here - http://www.infragistics.com/support/product-lifecycle.
Regarding the question - currently we do not support server-side hiding of filter options. You can accomplish that behavior using CSS. For example:
Please let me know if I could be of further assistance.
you mean that we can't get help from Infragistics team for older versions like mine???
As Tihomir pointed out, version 12.2 is no longer supported for Service Releases and Developer Support. In order to use the latest features and the newest builds with issue fixes and functionality improvements, you will need to upgrade to a newer version because we provide 1 year of Product Service Releases support and 3 years of Developer Support.
The information that Tihomir provider should work in your scenario, and yes currently it is not possible to implement server-side hiding of filter options.
Let us know if you need further assistance.
Product Lifecycle page: http://www.infragistics.com/support/product-lifecycle
Hi,
So, Is there any possibility that I can clear filters on Server Side, any events that help me clear any set filters on the grid?
Because, once a filter is set, the user might reset it at any time, so there should be an option for serverside to reset the filters. Any pointers on this.
If you mean how to clear the filters (server-side) then you can use this:
grid1.Behaviors.Filtering.ClearBehaviorColumnInfo();
grid1.Behaviors.Filtering.ColumnFilters.Clear();
Helpful references:
http://help.infragistics.com/Help/Doc/ASPNET/2015.2/CLR4.0/html/WebDataGrid_Filtering.html
https://stackoverflow.com/questions/37417969/how-to-clear-filtering-sorting-and-paging-on-a-webdatagrid-on-client-side