SMART datagrid v.1 > Classes > GridBase
DataLudi.GridBase.editOptions property
EditOptions object. It contains the properties related to grid editing.
- Getter
- function editOptions(): EditOptions
- Setter
- function setEditOptions(value: Object|EditOptions)
Code -1
$('#toogleEditable').click = function (ev) {
grid.setEditOptions({
editable: ev.target.checked
});
};
- Note
- Objects will be created when create the grid.
- If specify edit properties through Setter of this property, the values of existing object will be changed.
- See Also
- EditOptions
- displayOptions
- operateOptions
- examples
- Hello Grid