Add dimanic data to template

2 posts, 0 answers
  1. Kiy
    Kiy avatar
    3 posts
    Member since:
    Apr 2014

    Posted 06 Jun 2014 Link to this post

    Please, check my code here:

    I try add on template variable <div>#=ds# </div> in function
     function change(e) {
       ds =; }
    But i see 0 on (0-2) pages and only 3 page variable chache

    Can anyone help me?
  2. Petyo
    Petyo avatar
    2437 posts

    Posted 10 Jun 2014 Link to this post


    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.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top