You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potmos opened this issue
Nov 23, 2017
· 1 comment
· Fixed by #8643
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Adds the ability for a `mat-sort-header` or `mat-sort` instance to be disabled, preventing the user from changing the sorting direction.
Fixesangular#8622.
Adds the ability for a `mat-sort-header` or `mat-sort` instance to be disabled, preventing the user from changing the sorting direction.
Fixesangular#8622.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Proposal: Allow the mat-sort-header tag to be attached to a boolean.
What is the expected behavior?
There should be a way to bind a column to a variable so you could enable or disable the the sorting.
What is the current behavior?
If there is the mat-sort-header tag on the column you can't disable the sorting.
What are the steps to reproduce?
https://plnkr.co/edit/SaM2RYwm3i7mRJhOIH2k?p=preview
I wish that clicking the button would disable the sorting.
What is the use-case or motivation for changing an existing behavior?
This would make the sorting more flexible.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All of them
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: