SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.showEditor  method

Display Editor in the cell location specified by parameter index. If do not specify index, it will be displayed in the location of Focused Cell

onShowEditor event will be fired just before opening the editor. If explicitly return false within this event handler, it will not display the editor. 

function showEditor (index: CellIndex): Boolean;
Returns
Boolean
Parameters
index - CellIndex.
Code -1
    $('#showEditor').click(function () {
        // Open the editor in the currently focused cell.
        grid.showEditor();
    }
See Also
focusedIndex
onShowEditor
hideEditor
CellEditor