Add row to table

How do I add a row to a table dataset?

table = event.source.parent.getComponent(‘Table’)
newRow = ["","",""]
system.dataset.addRow(table.data, newRow)

This does not error, but does not add a row. The table data is not bound to anything else.

Ignition 7.9.9

datasets are immutable, system.dataset.addRow returns a new dataset with the additional row in it.

Thanks. Overlooked that.

table = event.source.parent.getComponent(‘Table’)
newRow = ["","",""]
table.data = system.dataset.addRow(table.data, newRow)