# Angular Data Grid Sticky Group Headers and Footers

The [Angular Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid) supports sticky group headers and footers that remain visible as the user scrolls through grouped data. When a group header scrolls out of view, a pinned copy of that header stays at the top of the scroll container. This helps users maintain context about which group they are viewing, especially in large data sets. The feature also supports full [keyboard navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation#sticky-group-header-and-footer-navigation).

The following example demonstrates sticky group headers and footers with multiple group levels and aggregate calculations.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/grid/grouping/sticky-headers/source.txt)

## Enabling Sticky Headers

To enable sticky group headers, set the [`stickyHeaders`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/groupablesettings#stickyheaders) property of the [`groupable`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent#groupable) setting to `true`. The group header row stays pinned at the top of the scroll container while its group's data rows are visible.

```html
<kendo-grid [groupable]="{ stickyHeaders: true }">
</kendo-grid>
```

## Enabling Sticky Footers

To enable sticky group footers, set the [`stickyFooters`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/groupablesettings#stickyfooters) property of the [`groupable`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent#groupable) setting to `true`. The group footer row stays pinned at the bottom of the scroll container while its group's data rows are visible. This option requires [`showFooter`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/groupablesettings#showfooter) to be `true`.

```html
<kendo-grid [groupable]="{ showFooter: true, stickyFooters: true }">
</kendo-grid>
```

## Suggested Links

* [Grouping Basics](https://www.telerik.com/kendo-angular-ui-develop/components/grid/grouping/basics)
* [Aggregates](https://www.telerik.com/kendo-angular-ui-develop/components/grid/grouping/aggregates)
* [Group Templates](https://www.telerik.com/kendo-angular-ui-develop/components/grid/grouping/templates)
* [Scroll Modes](https://www.telerik.com/kendo-angular-ui-develop/components/grid/scroll-modes)
* [API Reference of the GridComponent](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent)
