我是新來的extjs,我想添加一個複選框到我的container.viewport gridpanel。Extjs將複選框添加到container.viewport
這是我的代碼:
xtype: 'gridpanel',
flex: 2,
autoScroll: true,
title: 'title',
store: 'OutgoingDataStore',
columns: [
{
xtype: 'gridcolumn',
align: 'right',
dataIndex: 'calls_m',
text: 'Calls Monthly'
},
{
xtype: 'checkcolumn',
align: 'right',
dataIndex: 'check',
text: 'check',
}..
沒有checkcolumnit工作正常,但是當我將其添加應用程序顯示空白頁面,並在控制檯上,我看到:「遺漏的類型錯誤:無法調用‘的子’ undefined'