Hello,
In my onAfterUpdate event of the dataprocessor, i want to upload data like this :
grid._refresh_mode=[true,true,false];
grid.loadXMLString(newRows);
If there’s no filter, everythink is ok, but if there’s a filter, new lines are not added and deleted lines are not remove.
I try to remove the filters like this :
for (var i=0;i<grid.filters.length;i++){
switch(grid.filters[i][0].tagName.toLowerCase()){
case "input":grid.filters[i][0].value="";break;
case "select":grid.filters[i][0].selectedIndex=0;break;
case "div":grid.filters[i][0].combo.setComboValue("");break
}
}
grid._refresh_mode=[true,true,false];
grid.loadXMLString(newRows);
Wath is wrong ?