I have a GridView with a GridViewComboBox column. I create a datasource in the Load handler of the form but do not assign it to the GridViewComboBox yet. The datasource is an IQueryable object and is located in the class accessible to all methods of the class.
private IQueryable<BUILDING> dataBuildings;
The GridViewComboBox datasource gets assigned in the CellEditorInitialized event handler of the gridView.
When the app runs and I click in the cell with the combobox, the contents of the dropdown are empty but the size of the dropdown is as if it were filled. If I click on another cell, same row or another row, and then click back into the combobox cell, the contents are filled as expected.
Why would this be?
private IQueryable<BUILDING> dataBuildings;
The GridViewComboBox datasource gets assigned in the CellEditorInitialized event handler of the gridView.
When the app runs and I click in the cell with the combobox, the contents of the dropdown are empty but the size of the dropdown is as if it were filled. If I click on another cell, same row or another row, and then click back into the combobox cell, the contents are filled as expected.
Why would this be?