Thank you for reporting this bug. We will make it our priority to review this report.
border layout causes selection to break
border layout causes selection to break
In the shown code (and fiddle)
if you use border layout the selection stops working. changing to fit layout makes selection work.
Code:
Ext.application({
name: 'MyApp',
launch: function() {
Ext.create('Ext.container.Viewport', {
autoShow: true,
// if this is fit, selection works, otherwise as border selection does not work
//layout: 'fit',
layout: 'border',
items: [{
xtype: 'grid',
region: 'center',
flex: 1,
store: {
fields: ['id', 'approved', 'interestCount', 'title'],
data: [{
id: 101,
approved: true,
interestCount: 138,
title: 'JavaScript For Smarties Part 1'
}, {
id: 102,
approved: true,
interestCount: 33,
title: 'Last Chance To Learn C#'
}, {
id: 103,
approved: true,
interestCount: 9867,
title: 'How To Not Get Much From AngularJS'
}]
},
columns: [{
header: 'Id',
dataIndex: 'id'
}, {
header: 'Approved',
dataIndex: 'approved'
}, {
header: 'Interest',
dataIndex: 'interestCount'
}, {
header: 'Title',
dataIndex: 'title',
flex: 1
}]
}, {
}]
});
}
});
lundi 7 juillet 2014
border layout causes selection to break
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire