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

ComboBox with some entries display only

Thread ID:





6828 Aug 29,2003 12:56 PM UTC Aug 29,2003 01:47 PM UTC WinForms 1
Tags: GridControl
Charles Carlin
Asked On August 29, 2003 12:56 PM UTC

I am using a combobox field in a databound grid. Certain data is display only based on the value of the data in that field. I am doing this with the rowenter event setting cancel to true if the condition is met. However I need to prevent the user from changing any other rows to this type. What is the best way to either remove the selections when showing the dropdown (fyi this is dropdown mode only) or prevent the grid from accepting one of those entries and reverting it back immediately?

Administrator [Syncfusion]
Replied On August 29, 2003 01:47 PM UTC

I am not sure I fully understand what you are describing. Do you want to dynamically specify the dropdown list for a combobox? If so, you can do this in CurrentCellShowingDropDown. Here is a FAQ link that has a sample showing one way to do this. http://www.syncfusion.com/KB/Grid/Grid_c39c.asp#q567q


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