SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.firstCellWhenInsert  property

If it is true, when start appending or inserting rows by insert key, it will move the focus to the first cell. 

Defaults to false.

Getter
function firstCellWhenInsert(): Boolean
Setter
function setFirstCellWhenInsert(value: Boolean)
Code -1
   grid.setOptions({
        edit: {
            editable: true,
            firstCellWhenInsert: true
        }
    });
Code -2
    grid.setEditOptions({
        editable: true,
        firstCellWhenInsert: true
    });
Code -3
    grid.editOptions().setFirstCellWhenInsert(true);
See Also
insertable
editable
Cell Editing Overview
Examples
Edit Keys
Cell Editing