I don't have a direct answer, but I dimly remember modifying the grid locally in the Example CMP rather than having refresh call the getlist processor every time something changed. It doesn't speed up the initial load, but it makes a tremendous improvement in performance after that. One down side is that the paging no longer works, so you have to make sure the grid will hold all rows on one page.
One not-particularly-good option is to display the grid empty and add a 'Load Grid' button. It doesn't cut down the time, but users might perceive it as faster.
-
☆ A M B ☆
- 1,031 Posts
Sorry, not the grid is slow but the combo box in an MODx.Window. I have two superboxselect combo boxes in the same MODx.Window that are showing the same data (list of all ressources of that installation). The superboxselect combo boxes are filled during opening the MODx.Window (if they contain a value) and they are filled after each other (connector runs twice), which is sometimes slow. Is it possible to get the data once?
I would think you could call a getlist processor to initialize the store and use the store for both grids, but I'm not sure how.