Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1845
Set entire grid "disabled" or "readonly"
posted

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

Parents
No Data
Reply
  • 180
    Offline posted

    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);

Children