kendogrid.datasource is undefined in Js file

2 posts, 0 answers
  1. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 05 Jun 2014 Link to this post

    I am not able to use kendo.data.datasource and also not kendogrid.datasource
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 06 Jun 2014 Link to this post

    Hi Jan,

    In order to declare new dataSource you will need to use the following statement:

    var dataSource = new kendo.data.DataSource();

    As for the grid dataSource:

    $('#gridId').data('kendoGrid').dataSource

    Regards,
    Kiril Nikolov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top