This is a migrated thread and some comments may be shown as answers.

Show entire grid in multicolumncombobox without scroll bars

2 Answers 89 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Steven Randlett
Top achievements
Rank 1
Steven Randlett asked on 17 Aug 2011, 06:05 PM
I have been searching for a solution to this issue on the forums but so far, have not found anything that makes the MultiColumnComboBox display the entire Gridview component without any scroll bars.  That is to say, I do not want the width of the gridview component to be constrained by the width of the combo box itself.  I am attaching a small picture of what I am looking for as an attachment (this picture came from the the following link: http://www.telerik.com/help/winforms/gridview-columns-gridviewmulticomboboxcolumn.html and is located at the bottom of the page.)  The attachment appears to use radmultiColumnComboBox control inside a grid.  I do not know if this makes any difference in the behavior of the combo box.

Any advice on how this can be done?

Thank you for reading my post and any assistance you can offer.


2 Answers, 1 is accepted

Sort by
0
Steven Randlett
Top achievements
Rank 1
answered on 18 Aug 2011, 04:39 PM
I discovered a way to accomplish this by setting radMultiColumnComboBox.MultiColumnComboBoxElement.DropDownWidth to the width of the Gridview "inside" the drop down.

 

0
Stefan
Telerik team
answered on 19 Aug 2011, 04:42 PM
Hi Steven,

Thank you for writing.

As far as I understand you would like to have the popup of RadMultiColumnComboBox size itself according to grid size. If this is the case, you can easily achieve the desired result by setting the following property:
radMultiColumnComboBox1.AutoSizeDropDownToBestFit = true;

I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.

Kind regards,
Stefan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
MultiColumn ComboBox
Asked by
Steven Randlett
Top achievements
Rank 1
Answers by
Steven Randlett
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or