I am having a requirement where rad gird column group text is rotated vertically. For that i want to insert some label and apply css. I have checked the docs to add template on Column group. but didn't find any. Is there any way or am i missed something.
1 Answer, 1 is accepted
0
Doncho
Telerik team
answered on 16 Mar 2020, 02:15 PM
Hi Priyadharshini,
Normally rotating text can be done using CSS. In this case, however, the HTML structure needed for that is different. To change the structure, one of the easiest way would be by using JavaScript.
Here is one example approach:
Assuming the following Mark-up. Note the GridCreated event attached to the Grid:
JavaScript - In the GridCreated event handler, try wrapping the text in <span> element that has a custom CSS class assigned to it. This is needed in order to be able to rotate this element vertically.
You may adjust this example and incorporate it in your website.
I hope that will prove helpful!
Kind regards,
Doncho
Progress Telerik
Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers.Learn More.