Hi, I generated a basic app with Sencha CMD, and basically copied the 'cell editing' example from the kitchen sink, works fine, except that I cannot click or select anywhere in the activated editor using the mouse (but I can control the cursor and selection with the keyboard). Any ideas?
Cell editor problem
Code:
Ext.define('Test.view.main.Main', {
extend: 'Ext.container.Container',
xtype: 'app-main',
requires: [ 'Ext.grid.*', 'Ext.data.*', 'Ext.util.*', 'Ext.form.*' ],
items: [{
xtype: 'gridpanel',
store: new Ext.data.ArrayStore({
fields: ['fullName', 'short'],
data: [ ['John Doe', 'JD'], ['Lisa Jobs', 'LJ'], ['Thomas Mitch', 'TM'] ]
}),
plugins: [{
ptype: 'cellediting'
}],
columns: [{
text: 'Name',
width: 300,
dataIndex: 'fullName',
editor: {
allowBlank: false
}
}, {
text: 'Short',
width: 300,
dataIndex: 'short',
editor: {
allowBlank: false
}
}]
}]
});
Cell editor problem
Aucun commentaire:
Enregistrer un commentaire