AngularJS: client side filtering and sorting does not work?

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

    Posted 22 May 2016 Link to this post


    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




  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 25 May 2016 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.

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top