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

Custom Grid Cell ComboBox Editor Size

1 Answer 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Phillip Hamlyn
Top achievements
Rank 1
Phillip Hamlyn asked on 05 May 2010, 04:48 PM
Hi,
Silverlight 4.0 - Q1 2010 Telerik.

I have a custom column which creates a RadComboBox control as the cell editor in the overridden CreateCellEditElement method. No matter what I set the combo box control size to (typically 0,0 with HorizontalAlignment=Stretch) the grid resizes it so that it is only as wide as the widest combo box entry in the list. This means that the combo does not size appropriately to the column - even when I resize the column it doesn't respond.

Any ideas what might be wrong ?

Phil

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 11 May 2010, 12:08 PM
Hi Phillip Hamlyn,

Please have a look at the attached project . I have tried to resemble the issue , but everything seems ok to me.

Sincerely yours,
Pavel Pavlov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Phillip Hamlyn
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or