Unanswered: Uprading DataView to new Touch 2.1 List
Unanswered: Uprading DataView to new Touch 2.1 List
Hi,
i`m trying to upgrade my DataView to the new Sencha Touch 2.1 List.
In my old DataItem i had 2 components. One indicating some Statusinfo and the other displaying Model information using a Ext.Label. The label uses a XTemplate.
The updateRecord Method was overriden to apply Model Data to the Label.
In 2.0 this was working very well. But now i upraded to Touch 2.1, extended my List from the new Ext.List and also changed from DataItem to ListItem.
After doing so almost nothing works anymore! Not only is my custom styling totally messed up (i think i can fix this), but even worse, it seems that there is no itemtap event triggered anymore!
Does anyone experiencing similar issues?
My old DataItem`s config basically looked like this:
config: {
status: {
cls:'status'
},
label: {
cls:'short',
flex:1,
tpl: new Ext.XTemplate('...some templating with conditions and a member function...')
},
So my biggest issue is not getting itemtap events anymore.
Do i have to add my Components to the new body?
Is there a way to just use my template in body? I`ve tried adding my existing template to the body config, but nothing happend...