Author Topic: Sort group on click column  (Read 1998 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Sort group on click column
« on: January 04, 2019, 11:22:04 am »
Hello Team,

We have group and some other columns. On click group column header sorting is working fine.

But when we click on some other column groups are not sorting.

Please suggest hoe to achieve this. For your reference we created a plunker. Please check and sugget.
https://next.plnkr.co/edit/e996Gxgb2C7fAQih

In Plunkar on click priority column we want to sort group.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6264
    • View Profile
Re: Sort group on click column
« Reply #1 on: January 04, 2019, 12:30:16 pm »
Please try Ctrl - click on header cell of Priority column. ( v 5.6.1 )

In case of normal click on header cell of a normal column, data is first grouped/ pivoted and then sorting is applied within a group. In your case all priority values are same within a group.

In case of Ctrl - click, data is first sorted and then grouping / pivoting is applied.

https://next.plnkr.co/edit/a25He3zz0eeXxD8O
« Last Edit: January 04, 2019, 12:45:54 pm by paramquery »