jQWidgets Forums

jQuery UI Widgets Forums Grid Grid disable state all rows

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid disable state all rows #103849

    dan123
    Participant

    Hi i am trying to find a workaround for a case where during a button click. it will disable all rows in the jqxgrid. Disable state being all the fields will be grayed out and no mouse events can be performed on them.

    if there is a example or a workaround that would be helpful.

    Been using this grid widget for a while now and so far widget has been awesome.

    Grid disable state all rows #103859

    Martin
    Participant

    Hello dan123,

    You can achieve this by setting the grid’s disabled property to ‘true’, like in this Example.
    Or if you want to disable only the rows and not the whole grid, you can achieve it by using selectionmode: 'none', enablehover: false and
    using cellrenderer to grey out the cells.
    Here is an Example.

    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.