Little bug in ListView init

2 posts, 0 answers
  1. Jaap
    Jaap avatar
    96 posts
    Member since:
    Oct 2012

    Posted 11 Apr 2012 Link to this post

    When creating a listview without specifying a template (ok, not very real situation, but still....) you get an error

    In this lines:

    that.template = kendo.template(options.template || "");
    that.altTemplate = kendo.template(options.altTemplate || options.template);


    The second line should be:

    that.altTemplate = kendo.template(options.altTemplate || options.template || "");

    Regards, Jaap

  2. Nikolay Rusev
    Nikolay Rusev avatar
    2287 posts

    Posted 11 Apr 2012 Link to this post

    Hello Jaap,

    Indeed this is not a real scenario, at least template should be provided otherwise there is no point of using the widget.

    Nikolay Rusev
    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