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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -