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
ExtJS组合框项未应用任何样式_Extjs_Combobox - Fatal编程技术网

ExtJS组合框项未应用任何样式

ExtJS组合框项未应用任何样式,extjs,combobox,Extjs,Combobox,每当我展开组合框并列出所有可能的项目时,它们看起来好像没有应用任何样式。e、 g.无背景,悬停效果 我想要的只是厨房水槽示例页面提供的简单悬停效果。 我附上了一个小屏幕截图,使问题更清楚。 正如你所看到的,“丹尼尔·穆斯”和“蒂蒙·古根布吕尔”这两个词没有任何风格 这是我在窗口中插入组合框的代码: items:[ { xtype: 'combobox', id: 'groupleader', fieldLabel: 'Gruppen

每当我展开组合框并列出所有可能的项目时,它们看起来好像没有应用任何样式。e、 g.无背景,悬停效果

我想要的只是厨房水槽示例页面提供的简单悬停效果。 我附上了一个小屏幕截图,使问题更清楚。 正如你所看到的,“丹尼尔·穆斯”和“蒂蒙·古根布吕尔”这两个词没有任何风格

这是我在窗口中插入组合框的代码:

    items:[
    {
        xtype: 'combobox',
        id: 'groupleader',
        fieldLabel: 'Gruppenleiter',
        store: Ext.create('Desktop.Caregroup.store.employeeStore'),
        displayField: 'Fullname',
        valueField: 'id',
        emptyText: 'Gruppenleiter auswählen',
        queryMode: 'local',
        editable:false
    },
提前感谢,,
Daniel

将combo或任何其他组件添加到应用程序时,会发生这种情况。原因是,即使是开发应用程序在构建后也会使用css和生产版本的资源

添加组件后,在构建应用程序之前,css和资源不可用

有时需要执行的最低要求是:

sencha app refresh
sencha ant sass
构建始终有效:

sencha app build

如果您使用Sencha cmd,并且第一次使用组件,则css仅在构建应用程序后可用。