how to set windows datagrid column width ???

how to set windows datagrid column width ???

Post by Dickso » Mon, 24 Nov 2003 19:02:47


I have a windows datagrid that bind to a typed dataset table. how can i
change the width of individual datagrid columns? thanks.
 
 
 

how to set windows datagrid column width ???

Post by BD » Tue, 25 Nov 2003 01:42:10

Just off of my head, I didn't test :)

Dim cols as columns
set cols = mydatagrid.columns
cols(0).width=600
cols(1).width=3000
set mydatagrid.columns=cols



On Sun, 23 Nov 2003 18:02:47 +0800, "Dickson" < XXXX@XXXXX.COM >