Extension Functions
Component self - A reference to the component that is invoking this function.
Object value - The value in the dataset at this cell.
string textValue - The text the table expects to display at this cell (may be overriden by including 'text' attribute returned in dictionary).
boolean selected - A boolean indicating whether this cell is currently selected.
int rowIndex - The index of the row in the underlying dataset
int colIndex - The index of the column in the underlying dataset
string colName - The name of the column in the underlying dataset
int rowView - The index of the row, as it appears in the table view (affected by sorting)
int colView - The index of the column, as it appears in the table view (affected by column re-arranging and hiding)
return {'options': [(0, 'Option A'), (1, 'Option B')], 'rowHeight':100}
Component self - A reference to the component that is invoking this function
int colIndex - The index of the column in the underlying dataset
string colName - The name of the column in the underlying dataset
Component self - A reference to the component that is invoking this function
int colIndex - The index of the column in the underlying dataset
string colName - The name of the column in the underlying dataset
initialize
Component self - A reference to the component that is invoking this function
isCellEditable
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row that was edited, relative to the underlying dataset.
int colIndex - Index of the column that was edited, relative to the underlying dataset.
string colName - Name of the column in the underlying dataset.
Object value - The value at the cell location.
onCellEdited
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row that was edited, relative to the underlying dataset.
int colIndex - Index of the column that was edited, relative to the underlying dataset.
string colName - Name of the column in the underlying dataset.
Object oldValue - The old value at the location, before it was edited.
Object newValue - The new value input by the user.
onMousePress
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row, starting at 0, relative to the underlying dataset.
int colIndex - Index of the column starting at 0, relative to the underlying dataset.
Object value - The value at the location clicked on.
MouseEvent event - The MouseEvent object that caused this pressed event.
onMouseRelease
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row, starting at 0, relative to the underlying dataset.
int colIndex - Index of the column starting at 0, relative to the underlying dataset.
Object value - The value at the location that the mouse is released on.
MouseEvent event - The MouseEvent object that caused this released event.
onMouseClick
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row, starting at 0, relative to the underlying dataset.
int colIndex - Index of the column starting at 0, relative to the underlying dataset.
Object value - The value at the location clicked on.
MouseEvent event - The MouseEvent object that caused this click event.
onDoubleClick
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row, starting at 0, relative to the underlying dataset.
int colIndex - Index of the column starting at 0, relative to the underlying dataset.
Object value - The value at the location clicked on.
MouseEvent event - The MouseEvent object that caused this double-click event.
Component self - A reference to the component that is invoking this function.
int rowIndex - Index of the row, starting at 0, relative to the underlying dataset.
int colIndex - Index of the column starting at 0, relative to the underlying dataset.
string colName - Name of the column in the underlying dataset.
Object value - The value at the location clicked on.
MouseEvent event - The MouseEvent object that caused this double-click event.
onRowsDropped
Component self - A reference to the component that is invoking this function
Component sourceTable - A reference to the table that the rows were dragged and dropped in the same table.
list rows - An array of the rows indices that were dragged, in the order they were selected
Dataset rowData - A dataset containing the rows that were dragged
int dropIndexLocation - Row index where the rows were dropped