How to merge gridview row, column headers?

3 Answers 73 Views
GridView Styling
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Psyduck asked on 11 May 2021, 02:59 AM

Hello.

Look at my image. Is it possible to have rowspan and columnspan in grid?

There were a lot of examples in which empty space was left above when only the column span was used.
I confirmed that the previous post was not implemented. Is it possible now? Is it still?

Thanks.

3 Answers, 1 is accepted

Sort by
1
Accepted
Martin Ivanov
Telerik team
answered on 17 May 2021, 11:01 AM

Hello KIM,

Thank you for the additional information. I am afraid that RadGridView doesn't have a mechanism that allows you to merge the cells as desired. The columns groups are arranged in a rows panel very similar to the one used with the GridViewRow elements (below the column headers). This means that the column headers and the column groups are in separate layouts which are also not much customizable.

Regards,
Martin Ivanov
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.

1
Martin Ivanov
Telerik team
answered on 13 May 2021, 10:22 AM

Hello KIM,

To achieve your requirement, you can use the column grouping feature of RadGridView.

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

0
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
answered on 14 May 2021, 01:04 AM | edited on 14 May 2021, 01:05 AM

Hello.

I know the examples of the posts and posts in the forum.

I want to merge rows as well.

Looking at the image, I don't need "Level2group2". I just want to make one column by doing rowspan 2.
"Level2group1" must exist.

I ask if there is a workaround on it.
Thanks.
Tags
GridView Styling
Asked by
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Answers by
Martin Ivanov
Telerik team
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Share this question
or