Hi,
I have a RadzenDataGrid with FilterTemplate: how can I clear all filters/sortings and all text/selection applied to the FilterTemplate?
The Reset() method seems not to work and I have to do the following:
_dataGrid1.Query.OrderBy = null;
foreach (var col in _dataGrid1.ColumnsCollection)
{
col.FilterValue = null;
}
in order to clear the filters but when I call the Reload() method the textboxes / checkboxes in the FilterTemplate are still filled with previous values.
Hi, it is not possible to set the "col.FilterValue" value.
Try this:
foreach (var col in grd.ColumnsCollection)
{
col.ClearFilters();
}
It works for me.