vb-dev
2023-05-09T14:04:12Z
Greetings,

Can someone please suggest why, when an iGrid's columns are defined, a custom DropDownControl is not visible?

I have implemented the downloadable MultiColumnDropDownList and am able to populate its rows and columns. If I attach it to an iGrid column where this grid's columns are not defined (useCurColSet = False), it appears in every row, in the correct column, and it works as expected.

However, if I fill the grid with useCurColSet = True, the DropDownControl does not appear. Thanks for any help.
Igor/10Tec
2023-05-09T14:59:09Z
Prepare and email us a sample demonstrating the problem. Please, do not include the binary contents into the solution archive (the bin, obj and the hidden .vs subfolders).
vb-dev
2023-05-10T12:12:08Z
Thanks, Igor. I looked into the matter closely and found that the grid's .ReadOnly property was True. This apparently hides the dropdown button. It's working as expected now.
Igor/10Tec
2023-05-10T15:29:49Z
Yes, making the grid read-only disables any ability to edit cells, including drop-down editors.

In iGrid you can make individual cells read-only - not only the whole grid. You can use the iGCell.ReadOnly property for that or disable editing on the fly in an event handler of the RequestEdit event.
vb-dev
2023-05-11T20:32:23Z
Thanks Igor. I am now getting to know the RequestEdit event, having implemented hosting of a custom editing control.