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

Syncfusion.Windows.Forms.Grid.GridDataBoundGrid issue

Hi All,
I am using one grid in my app.One of the Grid's columns is containing combobox which in is bound to a datatable.Now my requirement is such that I should not be able to type anything in the combobox and there by change the selected text but I should be able to select various items from the combobox which is a normal behaviour of any combobox.

In essence I need to stop the user from typing anything in the combobox.

Can anyone please help me out in this regard?

Many thanks in advance!
Subrata Das


1 Reply

LS Lingaraj S Syncfusion Team March 4, 2009 02:20 PM UTC

Hi Subrata,

Thanks for your interest in Syncfusion products.

Please change the DropDownStyle property as Exclusive which will avoid editing the combobox cell in GridControl.

Please refer the code below.
gridControl1[8,4].DropDownStyle = GridDropDownStyle.Exclusive;

Let me know if you have any queries.

Regards,
Lingaraj S


Loader.
Live Chat Icon For mobile
Up arrow icon