Reputation: 5299
I have a tabpanel and want add GridPanel
in one Tab.
In this gridPanel i have a few colums, and one of this colums gonna contain checkboxes. But i cant add this.
Im do this.
xtype: 'checkcolumn',
header: '',
dataIndex: 'indoor',
width: 50
And in FireBug get this
l is not a constructor
...ng(this.enableUrlEncode)?this.enableUrlEncode:"data"]=Ext.encode(h);k.params=l}e...
ext-al...9641744 (line 1)
What i doing wrong?
Upvotes: 0
Views: 4408
Reputation: 3162
Yes you need to include that file in your page. Just download it and place it somewhere like this
<script src="/Libraries/Ext/ux/checkcolumn.js" type="text/javascript"></script>
Upvotes: 1
Reputation: 19
set Ext ux path at the begining . Or inclucded 'CheckColumn.js' where is in Ext ux folder in your script . It works!
Upvotes: 0
Reputation: 157
There is no type named checkcolumn
,you can change to checkboxfield
. hope it can help you :)
Upvotes: 1
Reputation: 6147
try this
xtype: 'checkboxfield',
header: '',
dataIndex: 'indoor',
width: 50
Upvotes: 0