Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/366.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 无法在Extjs中呈现网格内的空(null)列_Javascript_Extjs4_Extjs4.2_Extjs5 - Fatal编程技术网

Javascript 无法在Extjs中呈现网格内的空(null)列

Javascript 无法在Extjs中呈现网格内的空(null)列,javascript,extjs4,extjs4.2,extjs5,Javascript,Extjs4,Extjs4.2,Extjs5,我使用Extjs在网格中呈现一些信息。列属性类似于: SEValue: { dataIndex: "SEValue", header: MCW.lr.s_lbl_sevalue, hidden: false, renderer: MCW.common.DeviceHelper.renderSEValue, infoGroup: 30 }, 以下方法用于处理渲染值: MCW.common.DeviceHelp

我使用Extjs在网格中呈现一些信息。列属性类似于:

SEValue: {
        dataIndex: "SEValue",
        header: MCW.lr.s_lbl_sevalue,
        hidden: false,
        renderer: MCW.common.DeviceHelper.renderSEValue,
        infoGroup: 30
    },
以下方法用于处理渲染值:

MCW.common.DeviceHelper.renderSEValue = function (value) {
    if (value) return value;
   return "Not Available";
};

问题是,只要列值在DB中为“”或Null,它就不会显示该列,如果有任何值,它就会显示该列。

M.b.需要在字段
dataIndex:“SEValue”
中,从中绘制列的值集
allowNull=true