Ext.dataview.Dataview
unlike Ext.dataview.List
does not have a striped
attribute.
Is there a straightforward way of simulating that?
I've tried using itemTpl
in my DataView
, but no luck.
itemTpl: '<tpl for=".">' +
'<div class="{[xindex % 2 === 0 ? "even" : "odd"]}"></div>' +
'</tpl>'
Maybe my "for clause" is wrong. Maybe I shouldn't be iterating through the root node...