dynamica tpl to Dataview
I am facing an issue with dataview in which tpl is getting added dynamically. am able to successfully change the tpl dynamically. But after changing the tpl , in the 'item tap' event, index valuse is passed as -1. i think dynamically added tpl rows havenot rendered properly. This is the code am using.
dv.itemSelector = 'div.newUploadview';
can anyone pls help...
Can anyone help me resolve this. why the itemtap event is not getting the correct selected index value when we change the tpl dynamically.. pls help...