Row index in templates

2 posts, 1 answers
  1. Felipe Casanova
    Felipe Casanova avatar
    56 posts
    Member since:
    Feb 2010

    Posted 11 Mar 2012 Link to this post

    Are there any variables available in a template such as the row index number? Something like ${ rowIndex } that is available automatically.

  2. Answer
    Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 12 Mar 2012 Link to this post

    Hello Matt,

    In the newest version of the framework, widgets are using the uid field of the DataSource's Model, which represents an unique id. This identifier is available in the templates ( ${ uid } ), however it is not an auto incrementing row index number. You can find more information on that subject in the changes and backward compatibility page.

    All the best,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top