Hi,
I'm trying to export a radgrid to PDF and set the alignment of the headers.
I've been through a lot of posts on this forum, but nothing I can find seems to work.
Right now I have this:
However, this doesn't change anything. The header text is still centered.
Can anyone tell me what I'm doing wrong?
Cheers,
CJ
I'm trying to export a radgrid to PDF and set the alignment of the headers.
I've been through a lot of posts on this forum, but nothing I can find seems to work.
Right now I have this:
Private
Sub
rgLec_ItemCreated(sender
As
Object
, e
As
GridItemEventArgs)
Handles
rgLec.ItemCreated
If
(bPrintReport
And
(
TypeOf
e.Item
Is
GridHeaderItem))
Then
For
Each
cell
As
TableCell
In
e.Item.Cells
cell.Style(
"text-align"
) =
"left"
Next
End
If
End
Sub
However, this doesn't change anything. The header text is still centered.
Can anyone tell me what I'm doing wrong?
Cheers,
CJ