MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

MatSortHeader: How to Disable MatSortDirection.None

Open fata13xception opened this issue 4 years ago • 0 comments

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 avatar Jul 12 '21 18:07 fata13xception