【发布时间】:2015-11-10 12:46:48
【问题描述】:
我想添加将在何时展开的网格面板 用户 DblClick 行 所以我可以在行中添加更多细节 是否还有其他我应该添加的属性
this.msGroupFlowGridPanel = msGroupFlowGridPanel = new Ext.grid.Panel(
{
itemId: "msGroupFlowGridPanel",
store: msGroupFlowStore,
columns:
[
{
text: this.msGroupFlow_IssueText,
dataIndex: "issue",
flex: 1,
scope: this,
editor:
{
xtype: "combobox",
store: issueStore,
displayField: "text",
valueField: "value",
forceSelection: true,
queryMode: "local"
}
},
{
text: this.msGroupFlow_NextIssueText,
dataIndex: "nextIssue",
flex: 1,
editor:
{
xtype: "combobox",
store: issueStore,
displayField: "text",
valueField: "value",
forceSelection: true,
queryMode: "local"
}
},
{
xtype: "actioncolumn",
flex: 1,
scope: this,
text: this.deleteText,
icon: "Images/Grid_Delete.png",
handler: this.onDeleteActionColumnClick
}
],
plugins:
[
{
ptype: "cellediting",
clicksToEdit: 1
},
{
ptype: 'rowexpander',
rowBodyTpl:
[
'<b> here is the place where i want to add grid panel</b> '
]
}
]
});
【问题讨论】:
标签: extjs