How can i do, so that both load() execute sequentially

Please
is there somme way to ensure that both load () is sequentially executes.
that is to say: the first finished executing before the second one executes

Thank you!

please, try to use the callback function:

grid1.load(url,function(){ grid2.load(url2); });

sematik !!
Thank you for your time and for your tireless support.
I’ll try and realize.