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
200
Only have 1 editable column
posted

Hi,

I wanted to know how I can achieve following behavior.

- Table with multiple columns

- Only one column should be editable (feature:updating)

- Clicking on cells of other columns should not change their UI

Thanks for your answer.

  • 7535
    Verified Answer
    Offline posted

    Hello Maarten,

    In the iggrid Updating features to enable only one column editable, you have to set other columns readonly.It would not change the UI of the other column.

    Your code would be like this:
    $("#grid").igGrid({
        features: [
            {
                name: "Updating",
                columnSettings: [
                    {
                        columnKey : "Name",
                        readOnly: true
                    }
                ]
            }
        ]
    });

    I have created a sample application please find the attachment and let me know if you need further assistance.

    iggrid.zip