setDataSource method in scheduler gives error

2 posts, 0 answers
  1. Nithin
    Nithin avatar
    67 posts
    Member since:
    Mar 2018

    Posted 28 May 2018 Link to this post

    Hi
    I'm using Kendo scheduler for my application. I'm using a custom button for skipping a particular number of days, but after calling my service function and on calling the setDataSource()  I'm getting the error.

    My code goes something like this 

    service.getEvent(startDate,endDate).then(function(response){
         $scope.event=response;
     
       $scope.scheduler.setDataSource({
        data:$scope.event,
        schema:getSchema
      });
    });

     

    I'm able to get the response , the error occurs in $scope.scheduler.setDataSource() 

    The current version I'm using is 
    jquery- 3.1.1
    angularjs - 1.7.0
    kendo-ui- 2018.2.516

  2. Nithin
    Nithin avatar
    67 posts
    Member since:
    Mar 2018

    Posted 29 May 2018 Link to this post

    Hi,
    I was able to fix the issue. I think it was conflicting with the telerik report directive .js file which I accidentally loaded twice but still not sure how it was conflicting. Anyways thanks :)
Back to Top