grid.rebind()

1 posts, 0 answers
  1. Shruthi
    Shruthi avatar
    1 posts
    Member since:
    Aug 2012

    Posted 07 Aug 2012 Link to this post

    I have 10 telerik tabs in which each page is a partial view.

     

    On click of first tab a grid appears which has few records in it and a row in the grid is highlighted upon some condition.

    There are few buttons in the page which has different functionality each.

    Onclick of any button an action happens and grid rebinds accordingly(i.e the data in the grid changes based on the button action).

    For this I am using grid.rebind();

     

    Again I am checking for the condition to highlight the same row which was highlighted before through jQuery like this
    var parentTR = $("input:checkbox[class=check-box]:checked").parent().parent();
                                            $(parentTR).addClass("hover_active");

    But whichever class I add or delete to grid rows nothing is updated to the grid.

     

    May I know the solution for this?

Back to Top