PDA

View Full Version : Align Data ingrid


techno_adi
09-22-2006, 11:07 AM
Hi,
how do i align a data of specific coloumn to right/center?

thanks

Animal
09-22-2006, 01:48 PM
For column n, add text-align:<whatever> to the style for rule selector ".ygrid-col-n"

jack.slocum
09-22-2006, 03:01 PM
If you have multiple grids, you can also define:

#my-container-id .ygrid-col-n{
text-align:right;
}

techno_adi
09-25-2006, 09:44 AM
thanks..this worked :)

kovtik
12-05-2006, 08:29 AM
If you have multiple grids, you can also define:

#my-container-id .ygrid-col-n{
text-align:right;
}However, how can I align the header? I tried to use
#grid .ygrid-header-1 {
text-align: right;
}
but it works only in IE :(