jQWidgets Forums

jQuery UI Widgets Forums Grid Get Selected Cell

This topic contains 4 replies, has 2 voices, and was last updated by  Vinay Reddy 10 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Get Selected Cell #67507

    Vinay Reddy
    Participant

    HI,
    I had cleared selection of cells in JQXGrid using ‘clearselection’ method but after clearing selection i am able to get selected cell value.

    What should i do.

    Here is my sample code.
    $(“#usrSelImgGrid).jqxGrid(‘clearselection’);
    var cell = $(“#usrSelImgGrid”).jqxGrid(‘getselectedcell’);

    i am getting previous selected cell object.

    Is there any known issue.

    I am using jQWidgets v3.5.0 (2014-Sep-15)

    Regards,
    Vinay

    Get Selected Cell #67511

    Peter Stoev
    Keymaster

    Hi Vinay,

    You can try “getselectedcells” instead.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Get Selected Cell #67540

    Vinay Reddy
    Participant

    Can i know what have you understood the question?

    I had asked after clearing the selection of cell using ‘clearselection’ and if i opt ‘getselectedcell’ then previous selected cell object details are given instead i should not get any details as there is no selection because ‘clearselection’ is performed.

    Please give proper resolution.

    Regards,
    Vinay Reddy

    Get Selected Cell #67542

    Peter Stoev
    Keymaster

    Hi Vinay Reddy,

    If you would like to have a solution, then use what I suggested you. I understood your question and as part of the team who wrote that widget, I think I know how to use it and what to suggest to users.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Get Selected Cell #67610

    Vinay Reddy
    Participant

    Peter,

    As per your solution ‘getselectedcells’ is working fine but when my gird is a single cell selection then why should i call ‘getselectedcells’ instead of ‘getselectedcell’. This is more confusing.

    Regards,
    Vinay Reddy

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

You must be logged in to reply to this topic.