lundi 20 avril 2015

Setting row specific content for a Combobox in a GridGroupingControl cell

In my WinForms application, I have a GridGroupingControl where I need to display a certain data collection that has a rather complex structure. The basic idea is that I want to have a combobox in one cell on each row, and that combobox has to contain a list that is defined for each row in the data collection.

Now my question is: How do I bind that specific list to the combobox in question?

My guess here is that I need to define this binding not on the column schema, but on the row schema in some way. How do I do this? I had guessed that I would add event handlers of the type "control.Row.DataBound" but I have not found any of the sort in this control.

NB: I come from a web development background, so my knowledge of Winforms is rather limited to begin with. Please bear that in mind when answering.

Aucun commentaire:

Enregistrer un commentaire