SMART datagrid v1.4 > Classes > GridBase

[ grids ver.1.3.7]   Back  Forward

DataLudi.GridBase.getDataCellRect  method

index로 지정된 데이터셀의 크기를 그리드 상대 좌표로 리턴한다. 

function getDataCellRect (index: CellIndex): Rectangle;
Returns
Rectangle
Parameters
index - CellIndex. required.
Code -1
    $('#click').function () {
        var r = grid.getDataCellRect(grid.focusedIndex);
        console(r.x + ', ' + r.y + ', ' + r.width + ', ' + r.height);
See Also
CellIndex
GridBase.focusedIndex
Examples
Hello Grid