how to automatically refresh the grid when I click the grid tab?

Questionshow to automatically refresh the grid when I click the grid tab?
Man Lam asked 4 years ago

how to refresh the grid when I click the grid tab? I found that when i update the record in tab1, then i click the tab2, the data can't update automatically, i need to click the refresh icon manually to update the data.

1 Answers
Abu Ghufran answered 4 years ago

Assuming id tab-1 div has grid with id list1, then following would refresh grid on clicking tab.

<li><a href="#tabs-1" onclick="jQuery('#list1').trigger('reloadGrid',[{page:1}]);">Grid No 1</a></li>

Your Answer

16 + 20 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!