-
7 Feb 2013 1:10 PM #1
[4.2.0 beta2] Store with buffered:true but without pageSize - grid is empty
[4.2.0 beta2] Store with buffered:true but without pageSize - grid is empty
REQUIRED INFORMATION
Ext version tested:- Ext 4.2.0 beta 2
Browser versions tested against:- IE9
- Chrome 24
DOCTYPE tested against:- <!DOCTYPE html>
Description:- If define buffered:true for store but pageSize is not defined then grid is empty (data is local)
Steps to reproduce the problem:- Run the following test case, notice that grid is empty
- Click on column header for sorting, data appears in the grid
The result that was expected:- Grid should be with data initially
The result that occurs instead:- Grid is empty
Test Case:
Operating System:Code:<!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> <script type="text/javascript" src="../../ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function () { var data = []; for (var i = 0; i < 500; i++) { data.push({company: "Company " + i}); } Ext.create("Ext.grid.Panel", { store: { fields: [{ name: "company" }], autoLoad: true, buffered: true, proxy: { data: data, type: 'memory' } }, width: 650, height: 350, renderTo: document.body, title: "Sample Grid", columns: [{ width: 50, xtype: "rownumberer" }, { id: "Column1", flex: 1, dataIndex: "company", text: "Company" }] }); }); </script> </head> <body> </body> </html>- Win7
-
7 Feb 2013 1:20 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-8561
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote