Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MatSortHeader: How to Disable MatSortDirection.None #897

Open
fata13xception opened this issue Jul 12, 2021 · 0 comments
Open

MatSortHeader: How to Disable MatSortDirection.None #897

fata13xception opened this issue Jul 12, 2021 · 0 comments
Labels
question Further information is requested

Comments

@fata13xception
Copy link

From what I've been able to understand, the Angular MatSortHeader implements a disableClear attribute for disabling the MatSortDirection.None state in sorted columns; i.e., when disableClear = true, then clicking a sort-enabled column will only alternate between MatSortDirection.Asc and MatSortDirection.Desc.
https://beta-angular-material-io.firebaseapp.com/components/sort/api

I cannot, however, find this same attribute for the MatBlazor MatSortHeader.

How can I implement this behavior?

@fata13xception fata13xception added the question Further information is requested label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant