Skip to content

Multi Column MatSort #19448

Closed
Closed
@samie67

Description

@samie67

What are you trying to do?

I am a junior developer and this is my first time posting a request so please forgive me if any mistakes.
Trying to achieve sorting on multiple columns using matsort

What troubleshooting steps have you tried?

I am checking to see if there is any possibility to achieve it
What are you seeing that does not match your expectations?

Reproduction

I reproduced a table with some sample data where I want to sort on Priority column and keep the results and again sort on Name column and get the results. Please refer to the link.
https://gxnyjaqgeje.angular.stackblitz.io/
Expected behaviour:
I am trying to achieve multi column sorting using matsort which means I should be able to sort on two(multi) columns at the same time. I highly appreciate your help.

Environment

  • Angular: Angular 9
  • CDK/Material: 9.2.3/ 9.2.3
  • Browser(s):Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    troubleshootingThis issue is not reporting an issue, but just asking for help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions