Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi,
In my mashup, Grid 1 contains a data table with an editable "QTY" column. When I edit a value, the table updates accordingly. Grid 2 is linked to the edited data from Grid 1, but when I reload the Chrome page, the rows in Grid 2 disappear.
What could be causing this?
I've attached a screenshot for reference.
Thanks in Advance!!
Solved! Go to Solution.
Hi @HN_10673076 , the selected item information will disappear after you refresh the page.
I think you may use session parameters to keep the data even after a refresh of the page.
E.g., Bind the selected data of Grid 1 to a session parameter, then bind this session parameter to Grid 2
* The session parameter should be accessible as long as the session is alive.
Please refer to the ThingWorx Help Center page for more information:
Hi @HN_10673076 , the selected item information will disappear after you refresh the page.
I think you may use session parameters to keep the data even after a refresh of the page.
E.g., Bind the selected data of Grid 1 to a session parameter, then bind this session parameter to Grid 2
* The session parameter should be accessible as long as the session is alive.
Please refer to the ThingWorx Help Center page for more information:
All your changes exist only in your browser. You can easily see that in your browser's DevTools > Network -- there will be no server calls as you edit your grid. You need to persist those changes, so that they survive page reloads. The most common way to do that would be to bind your edited data as a parameter to some service, and trigger this service either on each edit, or when all edits are finished. In that service you would write this data back into the same storage, where you read it from.
/ Constantine
Hi @HN_10673076
It appears that there are answers to your question. For the benefit of other Community Members who may have the same question, it would be great if you could designate one of them as the Accepted Solution.
In the event that this response did not answer your question, please post your current status so that we can continue to support.
Thanks for using the PTC Community!
Regards,
Charles