-
20 Dec 2012 3:24 AM #1
[4.2 b] Store autoLoad false is ignored if groupField is set and remoteSort is true
[4.2 b] Store autoLoad false is ignored if groupField is set and remoteSort is true
REQUIRED INFORMATION
Ext version tested:- Ext 4.2 beta
- Chrome
- FireFox
- IE9
- <!DOCTYPE html>
- A Store's autoLoad false setting is ignored if its groupField is set and remoteSort is true.
- Just run the sample
- No request to load data
- A request to load data occurs
Code:<!DOCTYPE html> <html> <head> <title>Store autoLoad false</title> <link rel="stylesheet" href="../resources/css/ext-all.css" /> <script src="../ext-all-debug.js"></script> <script> Ext.onReady(function () { Ext.create(Ext.grid.Panel, { renderTo: Ext.getBody(), store: { groupField: "groupId", remoteSort: true, fields: [{ name: "groupId" }], proxy: { type: "ajax", url: "some URL" } }, columns: { items: [{ dataIndex: "groupId", text: "GroupId" }] }, features: [{ ftype: "grouping" }] }); }); </script> </head> <body> </body> </html>
-
20 Dec 2012 6:50 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
This is due to the store sorting when a group is happening so it's two different things of grouping and autoLoad.
But we will see what we can do so I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-8093
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote