Is there anyway to auto-resize the width of a column header?
I have created a data grid using the following:
Dim objTable As DataTable - objDS.Tables(0)
objTable.Columns(0).ColumnName="First Name"
objTable.Columns(1).ColumnName="Last Name"
Upon execution, the column name (i.e. First Name and Last Name) is only shown partially. I need to resize manually by dragging the column header.
I am using vb.net.
Advise appreciated.
I have created a data grid using the following:
Dim objTable As DataTable - objDS.Tables(0)
objTable.Columns(0).ColumnName="First Name"
objTable.Columns(1).ColumnName="Last Name"
Upon execution, the column name (i.e. First Name and Last Name) is only shown partially. I need to resize manually by dragging the column header.
I am using vb.net.
Advise appreciated.