AngularJS: client side filtering and sorting does not work?

2 posts, 0 answers
  1. Labhesh
    Labhesh avatar
    23 posts
    Member since:
    Sep 2015

    Posted 22 May Link to this post

    Hi, 

    I tried using the filtering and sorting functionality on clientside when using pivotgrid by setting the $scope.options - but neither of these work. 

    Is this a bug or some additional configuration that needs to be done?

    $scope.options = {
        columnWidth : 20,
        height : 580,
        dataSource: $scope.dataSource,
        filterable: true,
        sortable: true
    };

    Note: I am getting all of my data from remote service in form of json (via transport) and using schema/model/cube technique to specify rows/column/measures

    Thanks, 

     

    Labhesh

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 25 May Link to this post

    Hello Labhesh,

    The filtering and sorting configuration can be defined using the k-options attribute. Here is a demo that demonstrates how this can be accomplished:
    Please note that Sorting is not supported when widget is bound to flat data.

    Regards,
    Georgi Krustev
    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