When the combo is hosted in an xamgrid, the width of the popup seems to be limited to the width of the parent column. Is there any way to bypass this limitation?
See the attached image for an example
Thanks
HI,
Here is a forum post that should help you resolve your issue.
http://forums.infragistics.com/forums/p/41369/230272.aspx
Sincerely, Matt Developer Support Engineer
Unfortunately not - I had tried that one before posting! I've attached a sample/demo project with that styling change applied - perhaps I've misunderstood.
The combo outside the grid has that style and behaves the way I'm hoping for - the drop down is wider than the control itself.
In the grid, you can see a combo with the same definition in the first column but it doesn't have the wider drop down
ThanksJames
HI ,
You could wire up the XamComboEditor's Opening and Closeing events and change the column's width.
Here a code snippet:
private void XamComboEditor_DropDownOpening(object sender, System.ComponentModel.CancelEventArgs e) { // xamgrid1.Columns["Reference"].ColumnLayout.ColumnWidth = new ColumnWidth(100, false); xamgrid1.Columns.DataColumns["Reference"].Width = new ColumnWidth(100, false); }
private void XamComboEditor_DropDownClosing(object sender, System.ComponentModel.CancelEventArgs e) { xamgrid1.Columns.DataColumns["Reference"].Width = new ColumnWidth(30, false); }
Sincerely, Matt Developer Support Enginee
HI.
I am following up on this forum thread? Pleae let me know if you need further assistance.
Sincerely. Matt Developer Support Engineer
It's not great - why do I have to resize the column to have a wider dropdown? It's modal and transient, shouldn't it be possible to make it resize automatically?
As it is, working out how wide to make the column is not something for the impatient if a fixed wider width isn't acceptable.
Thanks for your help
James