Hi. I'm trying to clear filter values for all the columns in a grid view doing something like in the code below:
var col = masterTable.get_columns();
for (i = col.length - 1; i >= 0; i--) {
masterTable.filter(col[i].get_uniqueName(), "", 0);
};
but nothing happens. Only if I fill the first column's filter and other are empty, the above code snippet function.
How else could I clear all filters in a Grid on client-side?
Thanks and best regards, Frank.
var col = masterTable.get_columns();
for (i = col.length - 1; i >= 0; i--) {
masterTable.filter(col[i].get_uniqueName(), "", 0);
};
but nothing happens. Only if I fill the first column's filter and other are empty, the above code snippet function.
How else could I clear all filters in a Grid on client-side?
Thanks and best regards, Frank.