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.
ADAdministrator Syncfusion Team June 24, 2004 09: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.