Rank: Member Groups: Member
Joined: 8/21/2008 Posts: 24
|
Dear Support-Team!
I would like to know, if it is possible to use different alignments on the complete columns of a grid, including the header. If I have a grid, for example, with the columns: "Text", "active" and "price", I would like to have the column "text" left-aligned, the checkbox column "active" centered and the column "price" right-aligned. I know this can be done by the "CellStyle" property of the corresponding column. But can I change the alignments of the corresponding header, too? Or, if not possible: Is it planned to have this feature and when will it be released?
Best regards Ronald
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi Ronald, Grid column header text are HTML. So you can do this by using regular HTML. For example, instead of setting the column header text as "Price", you can set it to:
Code: HTML/ASPX
<div style="text-align:right">Price</div>
That should take care of it. Please feel free to let us know if you have any more questions. Thanks!
|
Rank: Member Groups: Member
Joined: 8/21/2008 Posts: 24
|
This is perfect! Thank you very much! Ronald
|