Sencha touch Sencha触摸移除组标题并增加间隙
如何删除Sencha touch分组列表标题并增加间距。为列表定义自定义类,并在css文件中添加该类的css。 当然,如果使用存储并添加要分组的所需字段名,则分组配置选项设置为true 查看:Sencha touch Sencha触摸移除组标题并增加间隙,sencha-touch,Sencha Touch,如何删除Sencha touch分组列表标题并增加间距。为列表定义自定义类,并在css文件中添加该类的css。 当然,如果使用存储并添加要分组的所需字段名,则分组配置选项设置为true 查看: Ext.define('app.view.Temp', { extend : 'Ext.List', xtype : 'temp', config : { title : 'Temp', cls : 'x-c
Ext.define('app.view.Temp', {
extend : 'Ext.List',
xtype : 'temp',
config : {
title : 'Temp',
cls : 'x-contacts',
disableSelection: true,
grouped : true,
store : 'YourStore',
ui : 'round',
cls:'modifiedHeader',
//custom css classname
itemTpl : ['<span>{field_name}</span>'].join('')
}
});
app.css
.modifiedHeader .x-list-header {
//your desired css here
display:none;//If you want to hide the header
}
我想删除分组的列表标题。如果可能的话,增加两组之间的差距。
.modifiedHeader .x-list-header {
//your desired css here
display:none;//If you want to hide the header
}