jQWidgets Forums

jQuery UI Widgets Forums TreeGrid How to Lock a Single Cell

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • How to Lock a Single Cell #103577

    qx5
    Participant

    If I use the “editable” attribute, the whole column will be affected.
    I only want to lock a cell in the parent data.
    But this cell is editable at the sublevel.
    Thank you very much for your help.

    How to Lock a Single Cell #103632

    Martin
    Participant

    Hello qx5,

    You could bind to the cellBeginEdit event of the TreeGrid and check it is the cell you want to disable from editing by its row key and datafield.
    And if it is you can call the endCellEdit method.
    Here is an Example. Here the cell with “Nancy” is disabled.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.