Hi
I have the strange problem that my ultracombo is only available in a new row (in the addnewbox).
Whenever a row is added and saved (for example: I add, save, exit program, and open again) I can't access the ultracombo for the cell anymore.
Any ideas what might cause this behaviour?
Can you update any of the fields on existing rows? If not, then my guess is that you have set AllowUpdate to true, which disables editing in the existing rows, but does not affect the AddNewRow.
You could also be setting Activation on the cell somewhere in your code, like maybe in InitializeRow or AfterRowUpdate.
Hi Mike
AllowUpdate is set to default, but it doesn' matter if I set it to default, true or false. it's always the same.It seems that the cell does enter editmode since the AfterEnterEditMode is fired. I also tried different styles like Default, DropDown or DropDownList.
I do some stuff with activation in the AfterCellUpdate event, but it doesn't get executed (in this case) and the behaviour is the seeme even when I comment it out.
here is the code I use to assign the UltraCombo to the column:
-------
this.gridUc.VehicleCombo = new UltraCombo(); this.gridUc.VehicleCombo.DataSource = new BindingSource(this.DataSet, this.DataSet.Vehicles.TableName); this.gridUc.VehicleCombo.DisplayMember = "VehicleNr"; this.gridUc.VehicleCombo.ValueMember = "idVehicle"; this.ControllingUltraGrid.Rows.Band.Columns[this.DataSet.Controlling.VehicleNrColumn.ColumnName].EditorComponent = this.gridUc.VehicleCombo;