how can I block with grid.ignore, when I define function for onDrop event. (for moving child rows under other parent id)
I dont want to act dataprocessor when I drop something because i use completely different method for updating an element (i want to keep original child row id!!!).
when onDrop event fires it calls dataprocessor update twice:
why dataprocessor put a meaningless id when dragging???
c271285662652159
i have tried to modify xy_update.php to do nothing on “insert” and “delete” and giving back success xml-s, but did not work, because somehow id renamed to this c271285662652159 and next time it gives an error in grid because this id is invalid!!!
why dataprocessor put a meaningless id when dragging???
Such id can occur in case of id conflict, if you are dragging in item with id which already exists - component will produce unique id to prevent duplication.
when onDrop event fires it calls dataprocessor update twice:
dp.setUpdateMode(“cell”,true);
instead of “insert”, “delete” single “update” operation will be executed