I have a small problem with GDBG and a drop-down on a row whose data is changing.
I have the grid setup so that the drop-down buttons are hidden until the cell is clicked on.
So.. I click on the cell, to get my drop down showing, and then leave the mouse on the resulting pop-up menu.
What Im seeing is that when the row changes, the drop-down button goes away, and the pop-up menu stays in place. The cell seems to be in a state with a pop-up shown and functional, but no drop-down button being shown, and selecting an item on the pop-up doesnt push it into the cell value.
To make things work again, you need to click on the cell to "drop-down" the menu (which is already showing).
Its a little strange.
The desired behaviour, i think, is to keep the cell in its correct dropped-down state, even if the value of the cell has changed or if the row is changing.
ADAdministrator Syncfusion Team May 20, 2004 11:16 AM
I assume the grid is updating the cell in such as manner as it no longer has input focus, and this is what is causing the button to dissappear since it is only visible when the cell is active.
What kind of cell control are you using to get a PopMenu when you click a cell button? Is it something form our samples or something that you did yourself?
DMdamien mortonMay 20, 2004 12:54 PM
The grid is being updated in the standard GDBG manner - by responding to RowChanged events from the underlying datasource.
I probably got the terminology wrong - we are using a standard enum type, which is represented as a drop-down. When I say pop-up i am referring to the menu associated with the drop-down.
ADAdministrator Syncfusion Team May 20, 2004 01:11 PM
I am sorry, but I am still confused. Is the CellType for this column "ComboBox" or "GridListControl"? What is the DataSource (a DataTable, StringCollection, or ???)?
Are you explicitly responding to events and updating the grid yourself, or are you just letting the grid handle all the updating through its default event handling?
To try to home in on the problem, I will have to prepare a sample and would like to do what you are doing. If you could provide a sample project showing the problem that would be helpful.
DMdamien mortonMay 21, 2004 06:30 AM
Sorry about the confusion. Ill whip up a demo later today.