PDA

View Full Version : Problems during data loading with JsonStore



lellume
8 Sep 2011, 11:23 PM
Hi all,
i have a problem with the data loading with the JsonStore: in particular, i'm loading the results of a query into a grid that uses a JsonStore; the query executed returns 80 records, but the grid shows only 5 of them.
I put a breakpoint into the function defined for the event 'load' of the store; the function has three parameters: the store (this), an array of records (records) that are the records returned by the quey executed, and an option object (options). I checked the records contained in the "records" parameter and they were 80 records (as i expected), whereas the "data" property of the "store" contains only 5 record (that are the records that i see on the grid).
Does anybody know the reason why?

Best regards

lellume
8 Sep 2011, 11:43 PM
I solved reading with post
http://www.sencha.com/forum/showthread.php?120860-problem-with-Store-when-loading-data&highlight=store+problem