PDA

View Full Version : Conditional data in dataview (Ext.view.View) template?



martinkuba
27 May 2014, 7:02 AM
I would like to use a dataview to display records from a store using the dataview template. The last record needs to be displayed differently than the others. XTemplate supports conditional display using the xindex and xcount variables, but this does not seem to work in dataview. Is there a way to do it?

mitchellsimoens
2 Jun 2014, 5:49 AM
xindex and xcount should still work. Here is a fiddle:

69h