Grid group footer is not sticky

1 Answer 10 Views
Grid
Jie
Top achievements
Rank 3
Iron
Iron
Iron
Jie asked on 12 Aug 2025, 04:07 PM

Hi,

 

Please see the example - https://codesandbox.io/p/sandbox/silly-wind-tpfg8n

When column "Unit Price" is locked, while moving the horizontal scroll bar, the group header is sticky (expected behavior), but the group footer is not sticky (wrong behavior).

 

Thanks,

Jie 

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 14 Aug 2025, 01:05 PM | edited on 14 Aug 2025, 03:37 PM

Hi, Jie,

Thank you for the provided runnable example.

Upon closer inspection, the footer is rendered as a single cell rather than multiple smaller ones, so it cannot, in effect, inherit the column locking behavior from the header.  I was able to workaround this behavior by using the following CSS rules:

.k-grid .k-group-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.k-grid .k-group-footer .k-grid-content-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
}

I have modified the sent example and now the group footer is locked:

In case further questions arise on this matter, do not hesitate to reach out to us again.

Regards,
Filip
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Jie
Top achievements
Rank 3
Iron
Iron
Iron
commented on 14 Aug 2025, 01:53 PM

Thanks Filip. I found a case where the workaround doesn't work.

The workaround doesn't work if "ProductName" is also locked. Change this line in the example by adding `locked={true}`:

<Column field="ProductName" title="Product Name" width={150} locked={true} />
Basically, if any column in front of the footer column is locked, the workaround stop working.
Filip
Telerik team
commented on 18 Aug 2025, 12:31 PM | edited

Hello, Jie,

I tested the example above by locking the ProductName column as well, however it seems that the footer is still locked, does the issue occur on a specific browser? If so, can you please share the exact one and the used version, or is the UI issue different on your side? I have attached a screenshot:

Jie
Top achievements
Rank 3
Iron
Iron
Iron
commented on 18 Aug 2025, 12:37 PM

When I said it is not locked, what I really mean is the footer is not aligned with the header. In your screenshot, footer "Average 39" is not aligned with header "Unit Price". I hope that makes sense.

 

Thanks,

JIe

Filip
Telerik team
commented on 20 Aug 2025, 10:37 AM

Hello, Jie,

Thank you for the provided clarification. I tried various other CSS approaches in order to align the footer with the header and keep the footer sticky, however it seems that with the current implementation none of them gave a satisfying result. I have logged a feature request on your behalf for making the group footer sticky, you can track and monitor it's progress here:

https://feedback.telerik.com/kendo-react-ui/1696604-grid-footer-is-not-sticky

I have also added your vote for convenience.

Regards,
Filip

Tags
Grid
Asked by
Jie
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Filip
Telerik team
Share this question
or