DataGrid

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top