Click to See Complete Forum and Search --> : Chaging A DataGrids Column Width


jim_scott
November 14th, 2005, 10:58 AM
I want my colums to have a varying width of columns how do i do that in the code.

there is preffered column width however i want it to be able to set a specic value for each column

thanks frank

jhammer
November 14th, 2005, 12:22 PM
You will need to use DataGridColumnStyles.
Here is my article about this:
http://j1hammer.blogspot.com/2005/10/how-to-use-datagridcolumnstyles.html
If you will notice, the DataGridTextBoxColumn class has a Width property.