A
Alundra
Hi all,
I've been coding Java programs for several years, this is the first time I
code in vb.net. (No experience in coding using vb).
I use visual studio .net 2003.
I use a DataTable to store data from database and display it using a
DataGrid control. I use DataGridTableStyle and DataGridColumnStyle to
display customized column headers and checkbox for data of "Boolean" type.
So far so good, however I cannot find a way to adjust column width for each
field.
My Question is:
Is it possible to specify width for each DataGridColumnStyle?
Even better, is it possible to make columns adjust the width to fit the
longest content automatically?
Thanks in advance.
Mike
I've been coding Java programs for several years, this is the first time I
code in vb.net. (No experience in coding using vb).
I use visual studio .net 2003.
I use a DataTable to store data from database and display it using a
DataGrid control. I use DataGridTableStyle and DataGridColumnStyle to
display customized column headers and checkbox for data of "Boolean" type.
So far so good, however I cannot find a way to adjust column width for each
field.
My Question is:
Is it possible to specify width for each DataGridColumnStyle?
Even better, is it possible to make columns adjust the width to fit the
longest content automatically?
Thanks in advance.
Mike