Title: Reload all the data-grids at the same time via single click Post by: chorauoc on July 12, 2017, 10:43:20 AM Hello,
I need a way to reload all the data grids (let say 4) with different ids at the same time via single click, how can i achieve this thank you chora Title: Re: Reload all the data-grids at the same time via single click Post by: Pierre on July 12, 2017, 01:26:57 PM Something like this:
<a href="#" onclick="myFunction();" class="easyui-linkbutton">Update all 4 grids</a> JS: function myFunction(){ updateg1(); updateg2(); updateg3(); updateg4(); } function updateg1(){ // your code to update grid 1 } same way for other 3 grids ... Title: Re: Reload all the data-grids at the same time via single click Post by: chorauoc on July 13, 2017, 02:29:43 AM Hi Pierre,
yes i know this way but my problem is i have lots of datagrid and i have to add one by one into a function as you said, but i want to a method that will target all the datagrid at ones like css selectors |