colspan in column header

1 Answer 232 Views
Grid
samir
Top achievements
Rank 1
samir asked on 28 Dec 2022, 02:18 PM
By default colspan for column header in 1, how can i change colspan for specific column header. i tried to do through customHeaderCell but it already comes with th wrapper.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 28 Dec 2022, 03:16 PM

Hello,

With the current implementation of KendoReact Grid we rather recommend using the approach recommended in the Multi-Column Headers demo example instead of trying to set the colSpan by some other setting. 

By nesting the columns as in the example we calculate the 'colspan' that is needed and apply it automatically so you don't have to bother about it.

Regards,
Plamen
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/.

Tags
Grid
Asked by
samir
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or