Баго-фича. Как оказалось нельзя использовать удаленную сортировку

совместно с группировкой строк
1 parent 8c728493
Showing with 7 additions and 1 deletions
...@@ -3,6 +3,12 @@ Ext.define('MyMA.store.Aliases', { ...@@ -3,6 +3,12 @@ Ext.define('MyMA.store.Aliases', {
requires: 'MyMA.model.Aliases', requires: 'MyMA.model.Aliases',
model: 'MyMA.model.Aliases', model: 'MyMA.model.Aliases',
groupField: 'alias', groupField: 'alias',
remoteSort: true, /**
* There is an undocumented incompatibility between a certain Store configuration and the Grouping Feature.
* Namely, you cannot have a Store with "remoteSort=true" while using the Grouping Feature.
* The problem is that the Store will be sorted as per the server reponse,
* while the Grouping Feature will cause the view to be sorted as per the groupings.
*/
remoteSort: false,
pageSize: 100 pageSize: 100
}); });
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!