Unanswered: Inserting custom DataItem in Dataview Sencha Touch 2
Is there a way to insert a custom item in between dataItems in Dataview?
I have a list and each dataItem has a few components (this is why I do not use List). I want to add a single row between the list's raws which will have a different design and different components (imagine an advertisement raw or a coupon raw that I can insert between two items)
Do you have any idea how can I achieve that?
You could use XTemplates and there you can define that every, say, 5th item has a different look
Thanks, looks very useful. It seems I would have to use Ext.dataview.List.
Is there a way to use it with Ext.dataview.component.DataItem?
Tags for this Thread