I have a Radgrid which will fill according to a combobox which contains a table name.
I can change the table with no problem using this combo box. I found I can do this to clear the filters:
column.CurrentFilterFunction = GridKnownFunction.NoFilter; column.CurrentFilterValue = string.Empty;
How do I clear the sort and reorder columns?
I can change the table with no problem using this combo box. I found I can do this to clear the filters:
foreach (GridColumn column in RadGrid1.MasterTableView.Columns)
{column.CurrentFilterFunction = GridKnownFunction.NoFilter; column.CurrentFilterValue = string.Empty;
}
RadGrid1.MasterTableView.FilterExpression =
string.Empty;
RadGrid1.MasterTableView.Rebind();
How do I clear the sort and reorder columns?