PDA

View Full Version : Grid with Multiple Stores



Tony Mariella
21 Sep 2007, 5:12 AM
I have created a grid using a data Store with a JsonReader. Right now I am using pagination to page though the data. Is it possible to create another data Store that loads the entire dataset ? I would like the new data Store to mirror the behavior of the first data Store (hiding/showing different columns). I am trying to use this to print the output of the grid in CSV output.
Any suggestions ?

phillroberts
21 Sep 2007, 6:50 AM
You can create a datastore that loads a large dataset by specifying a large pagesize, but just because you can doesn't mean you should. Why do you need a grid to ouput your data in csv format? You may be better off generating the csv file from the server side.

Tony Mariella
21 Sep 2007, 8:54 AM
I want the users to have the ability to manipulate the columns then output the data to CSV format. If I do it server side I'd have to figure out which columns had been moves and which ones are hidden.