This is a migrated thread and some comments may be shown as answers.

Wait for expandRow(...)

1 Answer 237 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Iron
Veteran
Heiko asked on 14 Dec 2017, 05:57 PM

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

 

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Dec 2017, 08:26 AM
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.
Tags
Grid
Asked by
Heiko
Top achievements
Rank 1
Iron
Veteran
Answers by
Stefan
Telerik team
Share this question
or