Hello all!
I am new in the community and I don't understand how to make a column editable.
Here, the beginning of my code, I want that my column "Nom" will be editable :
Code:
Ext.define('GDStock.view.vendor.TableProduitsVente', { extend: 'Ext.grid.Panel',
xtype : 'tableproduitsvente',
store: 'ProduitsVente',
region: 'north',
initComponent: function(){
Ext.apply(this, {
features: [
{
id: 'sum',
ftype: 'summary'
}
],
columns: [
{
text: 'Nom',
flex: 4,
dataIndex: 'nom',
editor:
{
xtype: 'combo',
store: 'Produits',
displayField:'nom',
valueField: 'nom',
mode: 'local',
typeAhead: false,
triggerAction: 'all',
lazyRender: true,
}
},