How do you set an entire grid to "disabled" or "readonly" in javascript?
I looked at the docs but didn't see any options or methods to do so:
http://help.infragistics.com/jQuery/2011.2/ui.iggrid
Hi, have you tried this?
//Initialize
$("#grid").igGrid({
features: [
{
name: "Updating",
editMode: "none",
enableAddRow: false,
enableDeleteRow: false
} ]});
//Set
$("#grid").igGridUpdating("option", "editMode", "none");
$("#grid").igGridUpdating("option", "enableDeleteRow", false);
$("#grid").igGridUpdating("option", "enableAddRow", false);
Thanks, but this isn't exactly what I'm looking for. Sorry, should have been more specific. What I want is something like a regular html control's "Readonly" or "Disabled" attribute, where the control is completely uneditable and indicates this visually (in most cases they're "greyed out").
In the case of the IgGrid, I would want the user to be unable to make any selections, sort, or use any of the other Grid functionality.
I should also mention that my grid is generated from the MVC Helper, just in case there are inconsistencies between this and the client-side generation.