Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Datagridview Combobox AutoSizeMode
 

Datagridview Combobox AutoSizeMode

Hello,

I want to display thecontent in combobox this I can get by setting AutoSizeMode = DisplayedCell.

But I don't want to resize the columns in Grid; if user selectsany long text, thencolumn shouldn't not be resized. How can I achieve this?

Thanks in advance

Sudipta

Sudipta Banerjee  Saturday, May 20, 2006 2:32 PM

set the PropertiyDropDownWidth

Problem Solved Thanks

Sudipta Banerjee  Thursday, May 25, 2006 2:02 PM
set the Resizable property of the DataGridViewComboBoxColumn to false
Rahul Saxena  Tuesday, May 23, 2006 1:57 PM
Sorry Rahul but it is still not working.
Sudipta Banerjee  Thursday, May 25, 2006 7:48 AM

set the PropertiyDropDownWidth

Problem Solved Thanks

Sudipta Banerjee  Thursday, May 25, 2006 2:02 PM

You can use google to search for other answers

Custom Search

More Threads

• DataTable.Merge() not updating bound control
• filtering a datagridview when data bound to a generic list of custom objects
• [c#]ToolStripProgressBar on a BindingNavigator
• Column Add/Remove order
• Datagridview + anonymous method
• DataGridView Validation While DataEntry
• Delete
• BindingComplete event isn't firing - why?
• Datagridview - Specific color on one row
• How to insert progress bar for continous loop queryies ?