Friday, February 17, 2012

Multiple jqGrids fires ajax call for every jqGrid on page


I have three grids each has a unique: pager, ID, and wrapper. These grids are hidden by default and show upon selection of a dropdown box. At page load, before anything is selected, jqgrid makes three ajax calls for its data, but after debugging it appears that each grid makes three calls, one for each of the grids on the page.



I would like each grid to only request its data for its own grid. Typically the first grid times out and the other two work flawlessly. I believe that the first one may bog down the number of connections to the server causing it to timeout and then the others are then free to proceed because they are below the max number of connections.



Any thoughts, ideas, or suggestion are greatly appreciated.

No comments:

Post a Comment