wpfdatagrid - Get filter value from Syncfusion ExtendedGrid for WPF -
we need persist filters (those funnel filtering on header row) in syncfusion's wpf grid.
how possible read current filter settings can persist it? , way restore filters programmatically?
is possible?
thanks, tom
you can filters particular column using following code snippet. code snippet[c#]: var filters = this.syncgrid.visiblecolumns["customerid"].filters; , can add filters particular column using following code snippet. code snippet[c#]: this.syncgrid.visiblecolumns["customerid"].filters.add(new syncfusion.windows.data.filterpredicate() { filtervalue = 2, predicatetype = syncfusion.windows.data.predicatetype.or, filterbehavior = syncfusion.linq.filterbehavior.stringtyped, filtertype = syncfusion.linq.filtertype.equals }); note: here customerid mappingname of griddatavisiblecolumn
Comments
Post a Comment