DataGrid

  • Thread starter Thread starter Uri Dimant
  • Start date Start date
U

Uri Dimant

hello, friend
I want to Alignment my header (row=0) of the column
This is my code that does Alignment on whole column but I would like only
the header text

Dim grdColStyle1 As New DataGridTextBoxColumn

With grdColStyle1

..HeaderText = "pub_code"

..MappingName = "pub_id"

..Width = 100

..Alignment = HorizontalAlignment.Center

End With
 
Back
Top