Extjs 4 校验列不可见 [英] Extjs 4 checkcolumn not visible

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

问题描述

我有一个网格,其中有一列必须是校验列,我使用此代码网格中有两行,但检查列看起来是空的.当我单击检查列时,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="stylesheet" type="text/css" href="/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 校验列不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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