This sample demonstrates the Grid component with the sticky header feature. In this sample, while scrolling the demo page, the Grid header will be fixed at the top of its parent element.
The Grid headers can be fixed while scrolling its first scrollable parent element. It can be done by setting the enableStickyHeader property. More information on the sticky header configuration can be found in this documentation section.