Windows Develop Bookmark and Share   
 index > Windows Forms General > ¿DataGrid Column Resize? (solved, check it out for sourceCode)
 

¿DataGrid Column Resize? (solved, check it out for sourceCode)

I'm a noob on VC#, and I'm making a little application with the datagrid just to familiarize myself with the controls and after a long time and a lot of help from the MSDN I finally managed to add the columns I want... but what i want now is to specify the width of the column at design time so the name of it doesn´t appear "cutted off"
At this point I just want to learn how to customize the look of the grid, I deal with the applications of the DataGrid later Smile

You can download the code from http://www.geocities.com/corea_80/TestApp.zip

Thanx
Ancalagon  Wednesday, October 19, 2005 5:38 PM
I made it!!! :D for anyone who wants to
-Change the column width dinamically
-Change the column width by code
-Change the column width... for fun

seek no more :D... well my sample is very basic and it might not be the best solution but it works ^^!

I have to warn you that this method works for VisualStudio.NET 2003 and is made on C#. BUT, I think that the methodology is the same for VB.NET2003 cheers! (I´m so happy lol)

Source Code (on a zip format) at http://www.geocities.com/corea_80/TestAppFixed.zip

Ancalagon  Wednesday, October 19, 2005 9:35 PM
I made it!!! :D for anyone who wants to
-Change the column width dinamically
-Change the column width by code
-Change the column width... for fun

seek no more :D... well my sample is very basic and it might not be the best solution but it works ^^!

I have to warn you that this method works for VisualStudio.NET 2003 and is made on C#. BUT, I think that the methodology is the same for VB.NET2003 cheers! (I´m so happy lol)

Source Code (on a zip format) at http://www.geocities.com/corea_80/TestAppFixed.zip

Ancalagon  Wednesday, October 19, 2005 9:35 PM

You can use google to search for other answers

Custom Search

More Threads

• Combobox problem
• Listview Help
• short path for the crystal report?
• Good places to seek help creating your own controls?
• My.Computer.Filesystem renaming Directories
• CheckedListBox.ItemCheck
• HTML byte stream
• Vista Windows service can't display MessageBox to currently logged on user.
• TreeView mouse rightclick highlight problem
• Forms with different templates for data entry