AD
Administrator
Syncfusion Team
October 18, 2006 04:17 PM UTC
Hi Dan,
If you want to programmatically apply filter, you can set the FilterBar.RowFilter property. Try the code below to do this.
// get the columnindex on which filter must be applied
int col = this.gridDataBoundGrid1.Binder.NameToColIndex("Column Name");
this.gridDataBoundGrid1.Model[1, col].Text = "value"; // filter value
filterBar.RowFilter = "[Column Name] = 'value'";
Let me know if this is not what you needed.
Thanks,
Rajagopal