Bug - Column sort icon shows on click, but nothing happens

4 posts, 0 answers
  1. Tom
    Tom avatar
    18 posts
    Member since:
    Apr 2016

    Posted 11 Apr Link to this post

    See attached files.

    I have a pivot that is mostly functional, however clicking the column block either in the pivot grid or in the configurator indicates the columns can be sorted, but while the icon changes, nothing actually happens. This appears to be a bug.

    I have also just noticed the same issue for row groups. The icon indicates there is sorting, but nothing happens.

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1966 posts

    Posted 13 Apr Link to this post

    Hello Tom,

    I guess that you are facing the problem described in the Sorting article: Sorting is supported only in OLAP binding scenarios. Currently, you cannot sort the flat data (client cube). 

    Regards,
    Boyan Dimitrov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Tom
    Tom avatar
    18 posts
    Member since:
    Apr 2016

    Posted 13 Apr in reply to Boyan Dimitrov Link to this post

    Displaying the sort icon is a little misleading then, no? It is indicated to the user that this functionality exists, and I think there is a strong expectation that it exists. I would certainly take this point of view; it is very strange that I can click that header and the first and second options I am presented with are to sort.

    Can you please indicate how to go about reordering these columns programmatically?  would rather implement something to present the data correctly, than leave it in an essentially random order. I have tried digging into the datasource and rearranging the contents of the _columnBuilder object (amongst others), but have had little to no luck.

  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2087 posts

    Posted 17 Apr Link to this post

    Hi Tom,

    A possible solution is mentioned in the following forum thread, where the data is sorted prior to setting it as a DataSource of the PivotGrid, but it also has its limitations:

    Best Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top