In the webforms submissions results when Edit is clicked to edit the submission data, Handsontable field data is not displayed (shows blank table)and after clicking on Save that data is lost from the submission result.

Comments

tchanchalani created an issue. See original summary.

gogowitsch’s picture

Status: Active » Needs work

Dear Drupal community, I am open for a patch to fix this problem.

panagis’s picture

Been struggling with this issue for quite some time. Turns out that if you include the "columns" property in the "View settings" of the webform element, default data is overridden every time the form loads. I would assume that this happens with any similar property that configures the Handsontable instance behavior. So, instead, just make sure to add your own JS that changes Handsontable settings on page load or whatever.