Closed saintelaitlait closed 8 years ago
Sure ! You have to create a dedicated Editor that checks if the cell is editable or not.
setCellEditor("firstname",new MyOwnEditor({});
https://github.com/webismymind/editablegrid/blob/master/editablegrid_editors.js
Thank you my friend!
If you just want to make the row read-only, implementing the callback "isEditable" is the easiest solution. It allows to decide dynamically if a column, row or cell should be editable or read-only.
Example:
myEditableGrid.isEditable = function(rowIndex, columnIndex) { // make first row readonly return rowIndex > 0; };
Hey guys, is it possible to make a row readonly instead of a column?
Thank you!