Completed
Last Updated: 06 Dec 2023 09:09 by ADMIN
Release R1.2024-Increment.2(31.Jan.2024)
Bradley
Created on: 29 Nov 2023 11:55
Category: Grid
Type: Bug Report
1
Grid header rendering for a command column is different than the default header

Bug report

The rendering of the Grid header for a command column is different than the one for the default header.

Regression introduced with 2023.3.1114

Reproduction of the problem

  1. Open the following Dojo example - https://dojo.telerik.com/@Zornitsa/aTIxApiV/3
  2. Inspect the HTML of the Grid headers

Current behavior

  • Rendering of default header:

image

  • Rendering of command header:

image

Expected/desired behavior

The rendering of both headers should be the same.

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all]
2 comments
ADMIN
Zornitsa
Posted on: 06 Dec 2023 09:09

Hi Bradley,

Indeed, the rendering of the Grid footer is the same as the old one for the header, however, it does not differ per case of the different types of columns as the header one did.

With the above being said and also since the rendering of the footer has not been updated with a new one for our latest release, like in the case of the header, its current rendering is correct and the behavior is expected. 

Thus, you may use the "!k-text-{direction}" class for the footerAttributes to align the text in the footer:

footerAttributes: {
    "class": "table-footer-cell !k-text-right"
}

Here is also a small Dojo example, demonstrating the above approach:

Nevertheless, I would like to inform you that the initial issue regarding the inconsistency of the Grid header rendering has been fixed and has been scheduled for release for the R1.2024-Increment.2(31.Jan.2024), which means that you may expect the fix to be available soon.

I remain at your disposal in case further questions on this matter arise.

Regards,
Zornitsa
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Bradley
Posted on: 29 Nov 2023 14:08
It also appears that the Footer when rendered also has a different HTML structure which may also affect how it is styled although it doesn't have the same issue as the Header.