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
Sencha touch 删除列表项分隔符/边框_Sencha Touch_Extjs_Sencha Touch 2 - Fatal编程技术网

Sencha touch 删除列表项分隔符/边框

Sencha touch 删除列表项分隔符/边框,sencha-touch,extjs,sencha-touch-2,Sencha Touch,Extjs,Sencha Touch 2,我已经检查了DOM,但仍然看不到分隔符/边框添加到列表项的位置。我想删除它们 有人知道怎么做吗?它位于div.x-list-item-label,只需将其CSS样式更改为: border-top: none !important; border-bottom: none !important; /* For the last row */ 希望有帮助。它位于div.x-list-item-label,只需将其CSS样式更改为: border-top: none !important; bor

我已经检查了DOM,但仍然看不到分隔符/边框添加到列表项的位置。我想删除它们


有人知道怎么做吗?

它位于
div.x-list-item-label
,只需将其CSS样式更改为:

border-top: none !important;
border-bottom: none !important; /* For the last row */

希望有帮助。

它位于
div.x-list-item-label
,只需将其CSS样式更改为:

border-top: none !important;
border-bottom: none !important; /* For the last row */

希望它能有所帮助。

只有当您希望将上述方法应用于应用程序中的每个列表时,它才是正确的

如果要以正确的方式执行,则需要将内联样式添加到创建的列表中。下面是我如何在应用程序的收件箱屏幕中执行此操作的:

{
 xtype: 'list',
 disableSelection: true, // only if you want to disable selection of the list
 config: {
      style: {
           'border': '0',
      },
 },
 itemTpl: '<div>{itemContent}</div>'
}
{
xtype:'列表',
disableSelection:true,//仅当要禁用列表选择时
配置:{
风格:{
“边框”:“0”,
},
},
itemTpl:“{itemContent}”
}

仅当您希望将上述方法应用于应用程序中的每个列表时,该方法才是正确的

如果要以正确的方式执行,则需要将内联样式添加到创建的列表中。下面是我如何在应用程序的收件箱屏幕中执行此操作的:

{
 xtype: 'list',
 disableSelection: true, // only if you want to disable selection of the list
 config: {
      style: {
           'border': '0',
      },
 },
 itemTpl: '<div>{itemContent}</div>'
}
{
xtype:'列表',
disableSelection:true,//仅当要禁用列表选择时
配置:{
风格:{
“边框”:“0”,
},
},
itemTpl:“{itemContent}”
}

好的,我肯定能找到它。但我想知道为什么它位于一个名为“…label”的类中。不管怎样,谢谢。好的,我肯定能找到它。但我想知道为什么它位于一个名为“…label”的类中。无论如何,谢谢你。