Standalone and loading dynamic data

Standalone and loading dynamic data

wouterwouter Posts: 22Questions: 7Answers: 0

He Everybody!

I have a question about the editor in standalone mode; when i populate the html elements
with values (and the data-editor-id) it works like a charm. But when i then populate it with other
values the editor instance does not update. I have a case here: https://woutersnel.nl/test/index.html

  • Click "load row 1", that puts de title in the title field and the data-editor-id is set to 1
  • Click on the title opens the editor with the right value, click it and row 1 will be send to the server as expected:

data[row_1][title]: title for row1b
action: edit

  • Now when clicking on "load row 2" puts de title in the title field and the data-editor-id is set to 2
  • Clicking the title does open the inline editor but the field is empty when clicking submit it appears as if row 1 is send:

data[row_1][title]: title 2

So I guess that the first time the editor is opened some thing are initialised that are not updated, once it is reopened. Is there a way to do that manually?

Sign In or Register to comment.