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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/234.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_Radio Button_Radio Group - Fatal编程技术网

EXTJS无线电组背景颜色为白色

EXTJS无线电组背景颜色为白色,extjs,radio-button,radio-group,Extjs,Radio Button,Radio Group,我正在尝试将我的广播组的背景颜色设置为。但是,以下代码的背景色仍为白色: xtype: 'radiogroup', hideLabel: true, id: 'rtse1', disabled: true, width: 255, bodyStyle: 'background-color: #DDE5E9;', style: 'padding-left:85px', items: [ {boxLabel: 'Static', name: 'rb-auto17', inputValue: '

我正在尝试将我的广播组的背景颜色设置为。但是,以下代码的背景色仍为白色:

xtype: 'radiogroup',
hideLabel: true,
id: 'rtse1',
disabled: true,
width: 255,
bodyStyle: 'background-color: #DDE5E9;',
style: 'padding-left:85px',
items: [
   {boxLabel: 'Static', name: 'rb-auto17', inputValue: 'Y', checked: true},
   {boxLabel: 'Default', name: 'rb-auto17', inputValue: 'N'}
]
有没有办法解决这个问题。非常感谢你的帮助


谢谢。

车身风格
不是收音机组的配置,它不扩展面板。相反,您应该只设置
样式
配置或
cls
属性,并通过css进行设置。

应用于
放射组的
样式
未正确应用。
所以我应用了
cls
(正如@EvanTrimboli建议的那样)

在css文件中:

.custom_group .x-panel-body{
    background-color: #DDE5E9;
}
.custom_group .x-panel-body{
    background-color: #DDE5E9;
}