JP
Dear all,
I have a report that shows some data in a dialog in a Table. Now I also have a button in the dialog to replace the data in that table:
var data = [];
data.push([true, "test", "test", "test", "test"]);
this.dialog.getPage(0).getDialogElement("DetailsTable1").setItems(data);
After running the code I expect the table to be updated, but it never gets updated.
I have another simple test button that does the following:
this.dialog.getPage(0).getDialogElement("DetailsTable1").addRow();
This adds a simple row and does work.
What do I need to do update the table with new data after a button click?