Hi, Is it possible to persist Grid column header CSS classes (text alignment) while reordering/drag-n-dropping columns? I've looked into Grid API but couldn't find there any clue... Thanks in advance!
1 Answer, 1 is accepted
0
Stoyan
Telerik team
answered on 15 Oct 2021, 07:50 AM
Hi Mykhailo,
Thanks for the provided information and snapshots.
It is possible to persist the CSS classes of the Grid column headers by modifying the .k-header.k-drag-clue CSS class chain which is responsible for the styles of the draggable box.
I've prepared a short StackBlitz demo that demonstrates the wanted behavior:
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/.