I have a GridFilterBar attached at a GridDataBoundGrid and i want to make a button for reset filter and refresh GridDataBoundGrid .
this.gridDataBoundGrid1.DataSource = GetTable("Table1", 5, 150);
but it doesn''t work...
ADAdministrator Syncfusion Team December 30, 2004 10:53 AM
Here is a sample where similar code worked for me in 126.96.36.199. What version are you using?
SVsveDecember 31, 2004 12:10 AM
Ok it works, in my code i haven''t the line
GridDataBoundGrid.RowFilter = "";
but the code
FilterBar.ResetFilterRow(GridDataBoundGrid) is not supposed to do so ?...
ADAdministrator Syncfusion Team December 31, 2004 01:05 AM
ResetFilterRow blanks out the cell contents and the cache filter strings that apply to individual cells. It does not actually clear the bar.RowFilter property though, only the internally cached values. When you set bar.RowFilter = "", it''s setter code will call ResetFilterRow as well as reset itself.