Hi
I dont know , what i am doing wrong while trying to clear all multiselect header filters, as after clearing all columns, somehow a null filter get set on a random header column. Below is my code
01.
function
clearFilter(filter,grid) {
02.
if
(filter.filters) {
03.
for
(
var
i = 0; i < filter.filters.length; i++) {
04.
clearFilter(filter.filters[i],grid);
05.
}
06.
}
07.
else
{
08.
grid.dataSource.filter({
09.
field: filter.field,
10.
operator: filter.operator,
11.
value:
""
12.
});
13.
}
14.
}