We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

drop-downs on rows that are changing

Thread ID:

Created:

Updated:

Platform:

Replies:

14194 May 20,2004 10:56 AM May 21,2004 07:30 AM Windows Forms 4
loading
Tags: GridControl
damien morton
Asked On May 20, 2004 10:56 AM

Hi, 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.

Administrator [Syncfusion]
Replied On May 20, 2004 12:16 PM

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?

damien morton
Replied On May 20, 2004 01: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.

Administrator [Syncfusion]
Replied On May 20, 2004 02: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.

damien morton
Replied On May 21, 2004 07:30 AM

Sorry about the confusion. Ill whip up a demo later today.

CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;