Can you please let me know which class is attached to sticky column when we are hovering it.
I want to keep its background color constant hense want to know its class name
1 Answer, 1 is accepted
0
Stefani
Telerik team
answered on 20 Sep 2021, 06:20 AM
Hello Amol,
When the `sticky` option of the Kendo Angular for UI Grid is enabled for a given column, the columna table head (<th>) gets the `k-grid-header-sticky` CSS class and the column's data cells (<td>) get the `k-grid-content-sticky` CSS class. The sticky columns themselves do not get any specific additional class on hovering. Instead, the entire table row's (<tr>) background color is modified on <tr> hover:
In order to be able to customize only the sticky columns, you can add a custom CSS class or style to the header, footer, and cell elements of the target column. Please refer to the following Styling documentation article for more details and examples on customizing column content:
I hope this steers you in the right direction. Let me know if I can provide any further assistance on the case.
Regards,
Stefani
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.