问题描述
我有一个网格面板,包括日期和组合栏 此列类型可让您将任何任意组件插入单元格。
即将发布的ExtJS将有一个称为Gadget Grid的功能,它允许类似的功能。
I have a gridpanel include date and combo column http://jsfiddle.net/YjYqX/
But i don't want click to show my combo. I want show my combo without click, not hide inside cell like
and the same for date column like
I think chage to clicksToEdit: 0
but fail
plugins: [
Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 1
})
]
How to do that, thanks
The only way to achieve this in 4.2x or below is to use a custom component like Skirtle's comonent column http://skirtlesden.com/ux/component-column This column type will let you insert any arbitrary components into a cell.
Upcoming release of ExtJS will have something called Gadget Grid that will allow for similar functionality.
这篇关于Extjs - 如何在Grid列中显示combobox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!