A bug in the programmatic initialization

2 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    7 posts
    Member since:
    Dec 2012

    Posted 31 Jul 2013 Link to this post

    Hi!
    In the new version of Kendo Mobile Framework the kendoMobileScrollView ininitializes normally with data-role="scrollview" attribute ( http://jsfiddle.net/papageno/c8Hm6/10/ ), but when I try to initialize programmatically: $('#sv').kendoMobileScrollView(); ( http://jsfiddle.net/papageno/c8Hm6/9/ ) error occurs.

    The error can be eliminated by changing the line:
    that._content = options.dataSource ? new VirtualScrollViewContent(that.inner, that.pane, that.options) : new ScrollViewContent(that.inner, that.pane);
    to line:
    that._content = that.options.dataSource ? new VirtualScrollViewContent(that.inner, that.pane, that.options) : new ScrollViewContent(that.inner, that.pane);

    Thank you!
  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 02 Aug 2013 Link to this post

    Hi Vladimir,

    Thank you very much for spotting this - I am updating your telerik points for this finding. We are going to address this in our next internal build. 

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top