I have a standard Vision table populated with data from a dataset. Is there any way to insert a new row between two specific rows this dataset, or remove a row, so that the table shows the updated dataset?
For example, I have 10 rows and I want to insert a blank row between rows 3/4.
Sure; if you change the dataset the table will display something different.
You can use various scripting functions to manipulate datasets:
Remember that datasets are immutable , so anything you do will be something like:
referenceToTableComponent.data = system.dataset.addRow(referenceToTableComponent.data, ...)
That is, you must use the return value from the dataset manipulation functions to have any effect.
2 Likes