Reload Grid not working for mutiple jqgrid

Posted by arun chaudhary on Stack Overflow See other posts from Stack Overflow or by arun chaudhary
Published on 2010-05-15T20:52:29Z Indexed on 2010/05/15 20:54 UTC
Read the original article Hit count: 1065

Filed under:
|
|
|

I am using jqgrid.My page has three tabs and each tab contains a different grid.All grids have different ids.The content of tabs is fetched via AJAX request lazily.Now after all three grids are rendered and i try to reload grid via function

jQuery("#myOffersTable").trigger('reloadGrid');

Only the grid which loaded last reloads and it doesn't work for other grids.

eg if grids load seq is : 1-2-3 then this code will only work for grid 3 but if seq is 3-2-1 then it will work only for 1.

But if i try reloading grids using reload button on navigator bar it works fine.

Any help would be appreciated.

Thanks Arun

© Stack Overflow or respective owner

Related posts about jqgrid

Related posts about jQuery