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

Hiding indented area for details

4 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike Dennis
Top achievements
Rank 1
Mike Dennis asked on 10 Sep 2009, 04:01 PM
Is there a way to hide the area that the details tables get shifted over?  I am trying to make the detail table look like part of the main row.  I have ExpandCollapseColumn-Display set to false in the MasterTableView, so I don't see the expand column, but I am hoping that there is a way to remove the area that it is shifted right.

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Sep 2009, 03:53 AM
Hi Mike,

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

Thanks
Shinu
0
Mike Dennis
Top achievements
Rank 1
answered on 11 Sep 2009, 02:09 PM
That doesn't seem to fix my problem.  I saw that before and hadn't added the HorizontalAlign = Right part, but I just tried that without any luck.  My problem isn't really aligning columns, at least I don't think it is.  I have a grid set in bulk edit mode (although it current will only have one row), and I need a large text area for the user to enter any comments they have about the main row item.  The main row can vary in the number of columns that are visible.  When I set ExpandedCollapseColumn-Display to false, the expansion/contraction option goes away and the <td> for that is getting display:none, but the details area is getting rendered with the same <td> as I would have if the expansion column was visible.  With 9 visible columns and the expansion column hidden, the details column has an empty column and the rest is my text box with a colspan of 9 for that column.  Is there a way to hide that empty column?  I couldn't seem to find an example anywhere that did that..
0
Mike Dennis
Top achievements
Rank 1
answered on 11 Sep 2009, 08:17 PM
I think that what I basically need is a way to just turn the display style to none for the left most cell in the details row.  I'm not sure what property I would need to set to have it render that way or if there even is a way to do that...
0
Mike Dennis
Top achievements
Rank 1
answered on 14 Sep 2009, 01:33 PM
The answer to the post here solved my problem.
Tags
Grid
Asked by
Mike Dennis
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Mike Dennis
Top achievements
Rank 1
Share this question
or