AbstractTableModel

Implement a custom TableModel.

Modulerequire("gui")
TypeClass
InheritsTableModel

To implement a custom TableModel, please implement all the methods in the Delegates section. It is also required to call the Notify methods of TableModel super class when data has been changed, so the Table can correctly update.

For simple use cases, the SimpleTableModel can be used.

Delegates

getRowCount(self)

Return how many rows are in the model.

Parameters

Return

Integer

getValue(self, column, row)

Return the data at column and row.

Parameters

Return

Any

setValue(self, column, row, value)

Change the value at column and row.

Parameters