SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onCellButtonClicked  event

It will be fired if click the button when DataColumn.button property value is CellButton.ACTION

function onCellButtonClicked (grid: GridBase, index: CellIndex, button: Integer);
Returns
Void
Parameters
grid - GridBase.
The grid in which contains the column.
index - CellIndex.
The location of cell in which displays the clicked button.
button - Integer.
Code -1
    grid.onCellButtonClicked = function (grid, index) {
        alert(index.column.name());
    }
See Also
onEditorButtonClicked
DataColumn
CellButton