PDA

View Full Version : [1.3.6] How to : style dataview-item



sentinelo
8 Oct 2019, 7:09 AM
Hi,

When creating a new ui for Dataview (using ui List since dataview seems not be available), the x-list background is being created as

.x-dataview {
background-color: red;
}

The x-listitem is created as
.x-listitem {
background-color: red;
}

With ExtJS :

dataviews have css class x-dataview
dataview items have css class x-dataview-item
lists have both css classes x-list & x-dataview
listitems has css class x-listitem


How can I create a working ui for dataview or list without adding userCls/itemCls to components nor css class inside itemTpl ?

Thanks