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

Columns same width in hierarchy

2 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 14 Jul 2008, 06:20 AM
Hi all,

I have created a grid with a two-layer hierarchy. It uses arraylists with objects as the datasources. Everything is done in code-behind and sofar it works OK.

One thing I noticed is that when opening child-rows, the child-columns have a slightly different position (same order though) and width than the parent columns. Even when opening two child rows there are differences between the position and width of the columns in the two opened child rows.

Is there a way to make all columns have the same width other then using the itemstyle property?

Thanks,

Vincent.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Jul 2008, 07:52 AM
Hi Vincent,

Here is a help article which explains how to align columns in a Hierarchical Grid. Go through it and see whether it helps.
Aligning columns in each level of hierarchical grid

Thanks
Princy.
0
Vincent
Top achievements
Rank 1
answered on 14 Jul 2008, 11:19 PM
Thanks for your reply. I was aware of the "hardcoded" way I was just wondering if there were other possibilities but I don't think there are. Nevermind then.

Cheers,

Vincent.
Tags
Grid
Asked by
Vincent
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Vincent
Top achievements
Rank 1
Share this question
or