How to change the column width property of DataGrid in run time

liunx

Guest
Hi,

In VB.Net, I need to assing the width for columns of datagrind in run time. I don't know how to do this.

Suggestions are appreciated.

Regards,
Siva RYou can apply a style sheet to the column and then modify the style sheet on run time, and you can also just say
columnid.width = something or other.well it can also be done as :-

Datagrid1.column.columid.width = whatever

I am assuming that the grids name is datagrid1 here

Happy surfing;
 
Back
Top