Extjs 4 checkcolumn不可见 [英] Extjs 4 checkcolumn not visible

查看:230
本文介绍了Extjs 4 checkcolumn不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有必须是一个checkcolumn的列的网格,我使用这个代码
在网格中有两行,但checkcolumn看起来是空的。当我点击checkcolumn时,console.log会正确返回已更改的布尔值。但是我在那一栏没有看到任何东西。

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);


推荐答案

您必须手动包含用于checkcolumn xtype的css像这样:< link rel =stylesheettype =text / csshref =/ extjs4 / examples / ux / css / CheckHeader.css>

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">

这篇关于Extjs 4 checkcolumn不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆