SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onShowEditor  event

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

function onShowEditor (grid: GridBase, index: CellIndex);
Returns
Void
Parameters
grid - GridBase.
index - CellIndex.
Code -1
    grid.onShowEditor = function (grid, index) {
        if (index.column.name() == 'colSalary') {
            return false;
        }
    };
See Also
onUpdateStarted
onInsertStarted
onEditChanged
Examples
Cell Editing