Hi,
Please, check my code here:
http://trykendoui.telerik.com/Ipij/12
I try add on template variable <div>#=ds# </div> in function
function change(e) {
ds = e.page; }
But i see 0 on (0-2) pages and only 3 page variable chache
Can anyone help me?
1 Answer, 1 is accepted
0
Petyo
Telerik team
answered on 10 Jun 2014, 12:52 PM
Hi,
When instantiated, the ScrollView immediately renders its next pages - this is why the next pages also renders as zero - they are rendered before the change event is triggered. The correct approach in that case would be to include the index in the respective dataSource record.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!