This is a migrated thread and some comments may be shown as answers.

Can we tell a grid cell to occupy more then one column and/or row?

1 Answer 25 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pierre Grondin
Top achievements
Rank 1
Pierre Grondin asked on 01 Apr 2010, 10:25 PM
I am doing a Worsbook control which goal is to be able to display an Excel workbook. My control has a tab control with a tab item for each worksheet.

The worksheet control has a RadGridView that uses a "GridViewBoundColumnBase" child to provide my custom viewer/renderer upon a call to "CreateCellElement(...)". That viewer needs to interact with the cell in order to set properties such as borders.

Given that Excell support cells that spawn multiple rows/column, I need to find how do so this in a RadGridView.

Pierre

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 02 Apr 2010, 01:53 PM
Hi Pierre Grondin,

You can change the template of the row as demonstrated in this example. You might be able to col-span cells in this manner.

I am afraid that cells cannot be spanned across rows though. Each row is an independent container and is not aware of its siblings, so row-spanning is not possible.

Regards,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Pierre Grondin
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or