Wait for expandRow(...)

2 posts, 0 answers
  1. Heiko
    Heiko avatar
    153 posts
    Member since:
    Oct 2012

    Posted 14 Dec 2017 Link to this post

    Hi!

    I would like to use the expandRow(...) function on all of my master-rows in grid. All detail records are loaded via Ajax(...) so I need to wait until each and every detail record is loaded.

    My code is simple:

    myGrid.expandRow(myGrid.tbody.find("tr.k-master-row"));

     

    How can I wait until every row is expanded?

    Regards
    Heiko

     

     

  2. Stefan
    Admin
    Stefan avatar
    2893 posts

    Posted 18 Dec 2017 Link to this post

    Hello, Heiko,

    Could you please share more details on why the master rows have to be expanded in order to wait for one another?

    I made an example showing how to expand all child Grids which are loaded via Ajax and they are loaded expected without waiting for every single Grid:

    http://dojo.telerik.com/usEDo

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top