The 4.1.1 RC1. I use grid with grouping-summary features and locked columns.
Printable View
The 4.1.1 RC1. I use grid with grouping-summary features and locked columns.
I found the problem, when data come from local array data, declared in the current js file, the collapse works.
But if i use proxy data with Ajax call, it doesn't works !
But why collapse can't works when i use proxy data ?Code:var store = Ext.create('Ext.data.Store', {
model: 'Task',
proxy: {
type: 'ajax',
url : urlControllerData,
reader: {
type: 'json',
root: 'Task'
}
},
autoLoad: true,
//data: data,
sorters: {
property: 'due',
direction: 'ASC'
},
groupField: 'lot'
});
I've found the solution :)
Do not use-> PutCode:autoLoad: true,
withCode:autoLoad: false,
juste after the store declaration.Code:store.load();
And the startCollapsed will works !
(Probably the same bug in RC2)
Great!:)
from 天朝
Hi all,
This bug seems to be around since a few versions according to a quick search.
The ghost proxy icon is not reset properly after an invalid drag event.
Here is a screenshot with 4.1.1 RC2.
Regards.
PS : my code is a bit too large to be posted here, but I can post it if required.
Edit : tested with IE7, IE8; IE9, Chrome 20.0.1132.47 (ouch)