Thank you for reporting this bug. We will make it our priority to review this report.
Grids bind + checkboxmodel + locked column breaks selection from header
Grids bind + checkboxmodel + locked column breaks selection from header
As described in the title, there is a bug using a particular combination of features.
The problem:
using 2 or more associated grids (by bind, parentGrid.selection.childItems) with checkboxmodel and locked column on the child grid the "select-all" checkbox will not work (checkbox injected in the header of grid) - it will work only with single row selection.How to reproduce:
you can start using the example http://ift.tt/1oTZFia
but the second grid needs some change (red color) like this:
Code:
Ext.define('KitchenSink.view.binding.Associations', {
extend: 'Ext.panel.Panel',
... the rest of the code ...
}, {
title: 'Orders',
xtype: 'grid',
bind: '{customerGrid.selection.orders}',
flex: 1,
margin: '0 0 0 10',
columns: [{
locked: true,
text: 'Date', xtype: 'datecolumn', dataIndex: 'date', flex: 1, format: 'Y-m-d'
}, {
text: 'Shipped', xtype: 'booleancolumn', dataIndex: 'shipped',
trueText: '✓', falseText: '-', align: 'center'
}],
viewConfig: {
emptyText: 'No orders',
deferEmptyText: false
},
selType: 'checkboxmodel'
}]
...
NB: without locked column, it works.
Thank you
Grids bind + checkboxmodel + locked column breaks selection from header
Aucun commentaire:
Enregistrer un commentaire