Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extjs 4 checkcolumn not visible

Tags:

grid

extjs4

I have a an Grid with a column that must be a checkcolumn, i use this code there are two rows in the grid but the checkcolumn looks empty. When i click on the checkcolumn the console.log returns correctly the changed boolean. But i see nothing in that column.

xtype: 'checkcolumn',
header: 'REDACTEUR',
dataIndex: 'REDACTEUR',
width: 75,
editor: {
xtype: 'checkbox'                            
},
renderer : function(value) {
console.log(value);
like image 808
A Rozema Avatar asked Sep 19 '11 10:09

A Rozema


1 Answers

you have to manually include the css for the checkcolumn xtype like this:<link rel="stylesheet" type="text/css" href="/extjs4/examples/ux/css/CheckHeader.css">

like image 68
user997117 Avatar answered Sep 20 '22 21:09

user997117