SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.insert  method

Request to insert a new row in the location of focused row. If actually start row appending, it will return true

If EditOptions.insertable is true, the user can type insert key to start row inserting. 

function insert (shift: Boolean, ctrl: Boolean): Boolean;
Returns
Boolean
Parameters
shift - Boolean.
ctrl - Boolean.
Code -1
    $('#btnInsert').click(function () {
        grid.insert();
    });
See Also
append
edit
EditOptions