Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi Developers,
I use gridadvanced widget to show and allow users to edit data like the below.
the column highlight with red backgroud is editable.
we can see "editedtable" object has records after we edit records.
I've expected the records in the "editedtable" object will be automaticaly cleared once we changed Data of the gridadvanced, however it still exists after the change.
how can we clear "editedtable" object ?
here the below shows you our ThingWorx version.
Thanks and Regards
Solved! Go to Solution.
Hello,
I'm not sure I completely understand your issue.
After you have done an edit of the grid (and I guess also pushed this change to a service) the editedTable object of the advanced grid still contains the data of the last edited row/rows?
I don't see how this causes an issue. Are you using this object to display the edited data in some way?
There is a "Reset" function on the advanced grid that you might be able to use to reset the object. However it likely also resets everything else.
Regards,
Jens
Hello,
I'm not sure I completely understand your issue.
After you have done an edit of the grid (and I guess also pushed this change to a service) the editedTable object of the advanced grid still contains the data of the last edited row/rows?
I don't see how this causes an issue. Are you using this object to display the edited data in some way?
There is a "Reset" function on the advanced grid that you might be able to use to reset the object. However it likely also resets everything else.
Regards,
Jens