onCellButtonClicked
Description
사용자가 데이터셀 내부의 action 버튼을 클릭했을 때 호출된다.
Syntax
function onCellButtonClicked (grid, itemIndex, column)
Arguments
grid
Type: GridBase
GridBase 컨트롤
itemIndex
Type: number
데이터셀이 포함된 아이템의 인덱스.
column
Type: object
데이터셀에 연결된 컬럼. DataColumn과 같은 구조의 object.
Return
None.
Examples
gridView.setColumns([
{fieldName:"fldName1", name:"colName1", button:"action"},
{fieldName:"fldname2", name:"colName2", button:"action"},
....
]);
gridView.onCellButtonClicked = function (grid, itemIndex, column) {
alert("CellButton Clicked: itemIndex=" + itemIndex + ", fieldName=" + column.fieldName);
};
RealGrid HELP