Hello,
I am wondering if the following scenario is possible and how I would implement it. Basically what I want to do is bind the list of items in a GridViewComboBoxEditor to a property of the data record for that row.
I have an object model that looks similar to this:
I have a grid that displays a list of SomeObject items, each of which contains a Field. Depending on the Field the user selected, the list of items in another column needs to change according to a list defined on the Field object.
Any help would be greatly appreciated.
Thanks,
Joel
I am wondering if the following scenario is possible and how I would implement it. Basically what I want to do is bind the list of items in a GridViewComboBoxEditor to a property of the data record for that row.
I have an object model that looks similar to this:
| public class SomeObject |
| { |
| public Field SelectedField { get; set; } public string SelectedString { get; set; } |
| } |
| public class Field |
| { |
| public string[] ListOfAllowedItems; |
| } |
I have a grid that displays a list of SomeObject items, each of which contains a Field. Depending on the Field the user selected, the list of items in another column needs to change according to a list defined on the Field object.
Any help would be greatly appreciated.
Thanks,
Joel