Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.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
extjs4中的树面板节点标签中断_Extjs - Fatal编程技术网

extjs4中的树面板节点标签中断

extjs4中的树面板节点标签中断,extjs,Extjs,这是树中的一个节点 { text:'more then a_veryverylongword ', leaf: true } 这里的问题是,一个非常长的单词没有显示,但如果我调整面板的大小,这个单词会显示出来吗 有没有人告诉我,我该怎么做才能打破诺言?css无法修改面板的大小,这不是一个选项 谢谢这是来自sencha的示例编辑代码及其工作原理 var store = Ext.create('Ext.data.TreeStore', { root: { expan

这是树中的一个节点

{
  text:'more then a_veryverylongword ',
  leaf: true
}
这里的问题是,一个非常长的单词没有显示,但如果我调整面板的大小,这个单词会显示出来吗

有没有人告诉我,我该怎么做才能打破诺言?css无法修改面板的大小,这不是一个选项


谢谢

这是来自sencha的示例编辑代码及其工作原理

var store = Ext.create('Ext.data.TreeStore', {
    root: {
        expanded: true,
        children: [
            { text: "detention", leaf: true },
            { text: "homework", expanded: true, children: [
                { text: "book report", leaf: true },
                { text: 'more then a_veryverylongword ', leaf: true}
            ] },
            { text: "buy lottery tickets", leaf: true }
        ]
    }
});

Ext.create('Ext.tree.Panel', {
    title: 'Simple Tree',
    width: 250,
    height: 150,
    store: store,
    rootVisible: false,
    renderTo: Ext.getBody()
});

你能发布代码或部分代码吗?