jQWidgets Forums

jQuery UI Widgets Forums Grid Grid cell checkbox state

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 8 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Grid cell checkbox state #85271

    Ankit Shah
    Participant

    Hello jQWidget team,

    Background:
    We are trying to implement some automation scripts to identify and act on the jqwidget controls.

    Issue:
    We are able to work on most of the controls, however, we are finding difficulties in identifying state (checked/unchecked) of check-box in grid cell.
    We can identify the state if checkbox is used as a separate control and not rendered in grid cell through “area-checked” property.
    However, the same property is not available when we manipulate state of grid cell.

    Can you help us in this matter on how we can identify current state of checkbox in grid cell.

    Thank You,

    Grid cell checkbox state #85272

    Peter Stoev
    Keymaster

    Hi Ankit Shah,

    You can get the value of a cell by using getcellvalue Grid method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Grid cell checkbox state #85284

    Ankit Shah
    Participant

    Hello Peter,

    Thank you for your quick response.

    Our automation script act directly on client browser and does not have access to underlying functionality of jQWidgets/jQuery.

    In that case do we have any other workaround using javascript? OR any other property that reveals the cell state?

    Thanks again,

    Grid cell checkbox state #85291

    Peter Stoev
    Keymaster

    Hi Ankit Shah,

    The solution I gave you is through Javascript/jQuery. No, you can’t get the checkbox’s state of a Checkbox displayed in the Grid without using the Grid’s API.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.