Hi all, it seems that there is a weird bug when trying to edit an element on a sorted/filtered data source, both the element that will be in the previous position of the edited element and the edited element by itself in the new position gets updated with the new values.
I found that clearing the filter first and then resorting/refiltering will solve it.
I found that clearing the filter first and then resorting/refiltering will solve it.
datasource.filter([]);
var
c = datasource.get(id);
c.set(
"Property"
,
"New Value"
);
datasource.filter([{
field:
"Property"
,
operator:
"=="
,
value:
"New Value"
}]);