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

Adding space to grid header text

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
giridhar
Top achievements
Rank 1
giridhar asked on 17 Feb 2009, 08:33 AM
Hi,
   I am working on self referential grid. I am using Vista skin. Problem is alignment of grid columns go on toss with self referential grid.

>Manager                          |
    > SubManager                    |
        >reportee                            |

I recognised that it is due to padding in following css.
 
.GridRow_Vista td,  
.GridAltRow_Vista td,  
.GridEditRow_Vista td,  
.GridFooter_Vista td,  
.GridGroupFooter_Vista td,  
.GridFilterRow_Vista td,  
.GridHeader_Vista,  
.ResizeHeader_Vista,  
.GroupHeader_Vista td  
{  
    padding-left:7px;  
    padding-right:7px;  
I made padding to 0px; now the alignment is as required.

>Manager                          |
    > SubManager               |
        >reportee                   |

Problem: I am removing padding here so I thought I can allow indentation by appending spaces to the data.
Some how, even if add space for header text, it still display by trimming. Can we avoid trimming of header text?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Feb 2009, 09:32 AM
Hi,

Here is a KB article which explains how to align columns in  each level of a Self-Referencing Grid. Go through it and see if it helps.
Aligning columns in each level of self-referencing grid

Shinu

Tags
Grid
Asked by
giridhar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or