Hello,
I am using Dhtmlx PRO 2.5 version.
I have the following problem:
I have a row father with two row sons inserted in the grid (all three rows are new, and are not in the database).
When I try to save the rows and the father has his name equal to one row previously inserted, the server returns an error (an expected error).
From the server side, I return the error when trying to insert the father, and also return the children as “invalid”, since there is no valid father to be inserted with.
But the problem appears when I modify the father with a valid name (client side) and try to save: the children don’t appear in the dataprocessor.
I tryed to set the children as updated (and not invalid) in the function that calls for every invalid row (using “setUpdated(rowId,state,mode)”), but it seems that the dataprocessor calls that method after calling the function and overrides what I’ve set.
What do you suggest I do?