Pivot Table - Row Sorting / Filter Sorting

Hello, I've been searching for a while in documentations / google about Pivot Table rows Sorting. I found a thread in https://disqus.com/home/discussion/webixdocs/webix_pivot_table/ made a year ago and still without answer. Still in development ?


  • Hello,

    For initial rows sorting you can use $sort scheme:

        $sort: {
             by: "name",
             dir: "asc"
  • Hi,
    Can I sort by two fields?

  • You can sort with any custom sorting rule by API ( that includes sorting by two columns ), there is no default UI to initiate sorting by two columns, though.

    It possible to override default single-column sorting behavior, that while only one column is marked as sorting source, it will always include other column in sorting ( user clickes on on any column, components sort by that columna and by date column for example )

    If necessary I can provide a snippet for above scenario.

  • Hi,
    Can you please provide a snippet for above scenario.

  • Please check the next snippet, sorting work by all columns. When values are the same they are ordered by the first column (so grid is sorted by selected and first columns )


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!