in grid collapse the row when expand another row

3 posts, 0 answers
  1. dileep
    dileep avatar
    1 posts
    Member since:
    May 2012

    Posted 07 Jun 2012 Link to this post

    can u please send me a code to colapse the row dynamically when i expand the other row in grid
  2. Basem
    Basem avatar
    27 posts
    Member since:
    Dec 2010

    Posted 02 Aug 2012 Link to this post

    You can add the functionality in the detailExpand event like this:
    detailExpand: function(e) {
        this.collapseRow(this.tbody.find(' > tr.k-master-row').not(e.masterRow));

    Here is a working example for you: 
  3. Ed
    Ed avatar
    3 posts
    Member since:
    Jul 2016

    Posted 14 Jun 2018 in reply to Basem Link to this post

    It works on mine.

    Good info.

Back to Top