应该是getSelectioneditorgridpanel,不是getSelections。
editor xtype #39numberfield#39, 数字 ,字符 xtype #39textfield#39 字符 更重要editorgridpanel的是,你editorgridpanel的GRID 必须要有 PLUGINplugins Extcreate#39#39, clicksToEdit 1 单击 ,双击 2header quotdddquot,width 100,sortable true,align。
gridon#39beforeedit#39,functione var record = erecordifrecordget#39XXX#39==#39参数#39 ecancel = truetrue表示不可编辑。
在使用ExtJS技术创建可编辑列表时,首要步骤是初始化一个可编辑的列表,这通常通过new 实现用户可以通过单击或双击编辑列表中的行来实现数据的修改,具体配置方式可参考ExtJS API文档接下来,定义表格的列模型在需要嵌入下拉列表框的列中,可以这样定义header quot合同状态quot。
JPanel statusPane = new JPanelnew GridLayout1, 1 CaretListenerLabel caretListenerLabel = new CaretListenerLabelquotCaret Statusquot statusPaneaddcaretListenerLabel Add the components getContentPaneaddsplitPane, BorderLayoutCENTER getContentPaneaddstatusPane。
下一篇: 播放器代码,播放器代码html
联系电话:18300931024
在线QQ客服:616139763
官方微信:18300931024
官方邮箱: 616139763@qq.com