add a class to grid header without making custom cell

1 Answer 626 Views
Grid
Jason
Top achievements
Rank 1
Jason asked on 14 Jun 2021, 02:11 PM
We just want to add a css class to a grid header but, we don't want to make a custom header cell to do this. Is this possible?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Jun 2021, 05:29 AM

Hello, Jason,

Yes, there is a property called headerClassName that can be used in this case:

https://www.telerik.com/kendo-react-ui-develop/components/grid/api/GridColumnProps/#toc-headerclassname

I hope this is helpful.

Regards,
Stefan
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.

Jason
Top achievements
Rank 1
commented on 15 Jun 2021, 01:03 PM

Can't believe I missed that in the documentation. Sorry to waste your time. Thanks for the help.
Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or