Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
997 | Sep 12,2002 03:02 AM UTC | Sep 12,2002 10:19 PM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
this.gridControl1.CellModels.Add("ComboBoxDS", new GridComboBoxCellModel(this.gridControl1.Model));
this registers a new celltype named ComboBoxDS that is just another combobox cell. You can then use ComboBoxDS as the celltype for column 2, and I think the problem you are seeing goes away.
One last comment. You can use the same comboboxes for different choicelists. So, for example if you add a col 3 that is similar to your col 1, but with a different string collection but the same ComboBox celltype, everything would work OK. Or, if you add another ComboBoxDS column but with a different DataSource, everything would be OK. The problem is trying to mix using choicelists and Datasource in a single combobox. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.