tomweber
2016-01-14T00:19:07Z
Hello!

I have created an iGDropDownList.

I want to make it so that the user can only select the existing items, but I don't know how to do that.

I can type into the iGDropDownList. I don't want the user to type something in it.

If this was a standard WinForms ComboBox, I would set the dropdownstyle to "DropDownList".

Unfortunately there is no such property for iGDropDownList. It always behaves like "DropDown".

Can somebody tell me how I can make the iGridDownList list so that the user can not type into it?

Thank you.
Igor/10Tec
2016-01-14T09:08:57Z
This is done on the cell level. Set the flag iGCellTypeFlags.NoTextEdit in the TypeFlags property for your cells.
tomweber
2016-01-14T11:04:42Z
I can't get it to work.

I have set this property for a single cell, but it does not have any effect.

Can you confirm that this is the way to do it?

.Cells(.Rows.Count - 1, "GUID").Value = sGUID 'this is used for the drop-down list. Items in the list are identified by a GUID string
.Cells(.Rows.Count - 1, "GUID").TypeFlags = iGCellTypeFlags.NoTextEdit

Thank you.
Igor/10Tec
2016-01-14T16:14:48Z
Then I need a sample that demonstrates the problem - this thing should definitely work.

Can you prepare and send me a demo sample?
tomweber
2016-01-15T18:21:25Z
You were right, I did something weird. After I removed the "weirdness", it worked fine.
Thank you.