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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

drop-downs on rows that are changing

Thread ID:





14194 May 20,2004 02:56 PM UTC May 21,2004 11:30 AM UTC WinForms 4
Tags: GridControl
damien morton
Asked On May 20, 2004 02:56 PM UTC

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 04:16 PM UTC

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 05:54 PM UTC

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 06:11 PM UTC

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 11:30 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon