thejoker101
11-07-2006, 05:30 PM
I'd like to have the ability to disable an editable grid, something like:
this.grid = new YAHOO.ext.grid.EditorGrid('grid',this.dataModel,colModel);
this.grid.disableEditor(true);
My reasoning for this is that I'd like to allow some people to edit the contents of the grid and others just to view it.
The only alternative I could think of is having two grids, one be the regular display grid and the other the editable one. It'd be nice to have just one set of code and just disable the edit feature.
Let me know what you think.
this.grid = new YAHOO.ext.grid.EditorGrid('grid',this.dataModel,colModel);
this.grid.disableEditor(true);
My reasoning for this is that I'd like to allow some people to edit the contents of the grid and others just to view it.
The only alternative I could think of is having two grids, one be the regular display grid and the other the editable one. It'd be nice to have just one set of code and just disable the edit feature.
Let me know what you think.