Hi allI am trying to build a very simple ultraCombo.I have a DataTable with some string entries.I have set DataSource = DataTable.Now, the DropDown has a header and also the size (width)does not fit with the ultraCombo control.How can I do this ?Just set the dataSource and when the user clicks on the buttonthe dropDown should be just a list of entries and the width shouldbe the same width als the ultraCombo.Thanks and best regardsFrank UrayI have tried the following:
this.ultraCombo_ConnectionA_Source_Server.DataSource = GetSQLServers(); this.ultraCombo_ConnectionA_Source_Server.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDown; this.ultraCombo_ConnectionA_Source_Server.DropDownWidth = this.ultraCombo_ConnectionA_Source_Server.Width; this.ultraCombo_ConnectionA_Source_Server.DisplayLayout.UseFixedHeaders = false; this.ultraCombo_ConnectionA_Source_Server.DisplayLayout.Override.ColumnAutoSizeMode = Infragistics.Win.UltraWinGrid.ColumnAutoSizeMode.AllRowsInBand;
I have got it: I use UltraCombo Editor now :-)
I'm glad you got it. Let us know if we can be of further assistance.