MatSortHeader

The MatSortHeader and MatSortHeaderRow are used, respectively, to add sorting state and display to tabular data.

Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatSortHeader
Class String Specifies one or more classnames for an DOM element.
Id String
RefBack ForwardRef
SortId String
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.

MatSortHeaderRow

Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatSortHeaderRow
Class String Specifies one or more classnames for an DOM element.
Direction MatSortDirection
DirectionChanged EventCallback<MatSortDirection>
Id String
RefBack ForwardRef
SortChanged EventCallback<MatSortChangedEvent>
SortId String
SortIdChanged EventCallback<String>
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
Example
Dessert (100g)
Calories
Fat (g)
Carbs (g)
Protein (g)
Frozen yogurt 159 6 24 4
Ice cream sandwich 237 9 37 4
Eclair 262 16 24 6
Cupcake 305 4 67 4
Gingerbread 356 16 49 4
If you like MatBlazor, please put a star on GitHub.