SMART datagrid v1.4 > Classes > GridBase
DataLudi.GridBase.onCellButtonClicked event
DataColumn.button 속성 값이 CellButton.ACTION일 때 버튼을 클릭하면 발생한다.
function onCellButtonClicked (grid: GridBase, index: CellIndex, button: Integer);
- Returns
- Void
- Parameters
- grid - GridBase.
컬럼이 포함된 그리드.
- index - CellIndex.
클릭된 버튼이 표시되는 셀의 위치.
- button - Integer.
버튼 인덱스.
기본 제공 버튼이면 -1.
Custom 버튼은 0부터 설정 순서대로.
(Ver.1.4.0)
Code -1
grid.onCellButtonClicked = function (grid, index) {
alert(index.column.name());
}
- See Also
- onEditorButtonClicked
- DataColumn
- CellButton