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.

Expand ComboBox list when user mouse hovers on last item in the list.

Thread ID:

Created:

Updated:

Platform:

Replies:

15667 Jun 24,2004 09:49 AM Jun 24,2004 10:53 AM Windows Forms 1
loading
Tags: GridControl
Ambuj Tayal
Asked On June 24, 2004 09:49 AM

I am using Data Bound Grid. I am having a cloumn in my grid which has combobox.It''s choice list have numbers ranging from 0 - 5. My need is when user comes on the last item(means 5) item list expands to incorporate 2 new values ( 6, 7). I mean to say that now list will contain 0 - 7 values. And user can select any value from 0 - 7. After selecting the value if user again clicks on the combobox, it should show items between 0-5 only not 6 or 7.

Administrator [Syncfusion]
Replied On June 24, 2004 10:53 AM

I think you would have to do this dynamically on the dropped list. Here is a sample that uses CurrentCellShowingDropDown to initially populate the list with the 5 items items, and to subscribe to the ListBox.SelectedIndexCanhed event for the dropped list. Then in the SelectedIndexChanged event handler, it adds the 2 items when you hit the last item in the original list. It also uses CurrentCellCloseDropDown to unsubscribe to the SelectedIndexChanged event. ColNameSample_5960.zip

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.

;