DataGrid

Heike

Regular
Joined
Jun 5, 2002
Messages
56
I think, I'm getting mad.....

I have a datagrid consisting of several derived columns (comboboxes). That comboboxes are filled by a dataset. They all have an empty entry and are editable.

If I can see the whole datagrid, everything works fine. If I have to scroll from left to right the value entered in a combobox not been visible before scrolling is forgotten. But only if I enter something. If I select an entry of the combobox everything works just like expected.

Any idea???
 
Just curious - is this a 3rd party combobox, or something that you've designed yourself? Are you sure that the combobox is updating the dataset? You can check by spitting out the DataSet's XML (using GetXml()) before and after a combobox changes a value.

-Nerseus
 
No, it's not a 3rd party combobox. I created my own style by using inheritance.

Yes I am sure that the combobox is updating the dataset. At least if my form is big enough to show the whole grid, it is doing so. Can there be a reason why it is different when scrolling is needed?
 
Back
Top