Component Data Grid Table Header

This component is used to show headers for data tables. It's used with the data grid component.

Code

Example

ID
Animal name
Animal type

Props

AttrTypeDefaultDocs

direction

"ascending" | "descending" | "none"

This property sets the sorting dirction of the data grid.

name

string

This property sets the name of the data grid column.

Events

EventDetailDocs

columnSortDirectionChange

any

This event will be triggered anytime sorting is changed

Get in touch

Do you have an idea, or want to help us improve this page? Reach out to us via email.

DTMB-DG-Support@michigan.gov

Need help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.