|
|
@@ -5,7 +5,7 @@ Ext.define('erp.view.boardmodel.detailpropertiesgrid',{
|
|
|
border:false,
|
|
|
plugins: [
|
|
|
Ext.create('Ext.grid.plugin.CellEditing', {
|
|
|
- clicksToEdit: 2
|
|
|
+ clicksToEdit: 1
|
|
|
})
|
|
|
],
|
|
|
store:Ext.create('Ext.data.Store',{
|
|
|
@@ -17,16 +17,22 @@ Ext.define('erp.view.boardmodel.detailpropertiesgrid',{
|
|
|
dataIndex:'property',
|
|
|
},{
|
|
|
header:'属性',
|
|
|
- flex:0.4,
|
|
|
+ flex:0.3,
|
|
|
dataIndex:'display',
|
|
|
},{
|
|
|
header:'值',
|
|
|
flex:0.6,
|
|
|
dataIndex:'propvalue'
|
|
|
- }],
|
|
|
- plugins: [
|
|
|
- Ext.create('Ext.grid.plugin.CellEditing', {
|
|
|
- clicksToEdit: 2
|
|
|
- })
|
|
|
- ],
|
|
|
+ },{
|
|
|
+ xtype:'actioncolumn',
|
|
|
+ flex:0.1,
|
|
|
+ align: 'center',
|
|
|
+ items:[{
|
|
|
+ iconCls: 'text-trigger-icon-grid',
|
|
|
+ tooltip: '编辑',
|
|
|
+ handler: function(th, rowIndex, colIndex) {
|
|
|
+ alert(1243);
|
|
|
+ }
|
|
|
+ }]
|
|
|
+ }]
|
|
|
});
|