![](/img/trans.png)
[英]On click of headerCheckbox, checkcolumn event is not getting called for the grid rows (Extjs 6.6)
[英]ExtJS - CheckColumn in the Grid does not appear in production build
我在網格中定義了一個復選框列。 當我在本地運行應用程序時,該復選框顯示正常。 但是,當我構建它並將其上傳到服務器上時,看不到復選框出現。 整個列顯示為BLANK
。
復選框列的代碼:
{
xtype: 'checkcolumn',
dataIndex: 'FLAG',
text: 'Set Flag?',
flex: 1,
listeners: {
checkchange: 'onCheckcolumnCheckChange'
}
}
FLAG
在模型中定義為布爾值:
Ext.define('App.model.FlagModel', {
extend: 'Ext.data.Model',
requires: [
'Ext.data.field.Boolean'
],
fields: [
{
name: 'ID'
},
{
name: 'DS'
},
{
type: 'boolean',
name: 'FLAG
}
]
});
我懷疑在構建應用程序時缺少某些CSS
文件。
可能是什么原因,我該如何解決?
我剛剛清除了瀏覽器的緩存和cookie,將其關閉,然后再次打開該應用程序,就可以在網格中看到復選框的呈現:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.