I have a TreeList control where the data is kept in an array in memory - the user will save manually after editing everything they need to.
One problem I'm facing is that if a new record is created, and then subsequently edited - it will disappear after either Save or Cancel.
I've removed a lot of the code for brevity - but this is a working example of what I have:
https://dojo.telerik.com/tDidtCqZ
Any idea what I'm doing wrong?