setEditable

manages the editability of the grid

void setEditable(boolean mode);

Parameters

modebooleanset non-editable if FALSE, set editable otherwise

Example

//set grid editable
mygrid.setEditable(true);
//set grid non-editable
mygrid.setEditable(false);

Back to top