I am trying to accomplish the following functionality using the GridView:
I have tried to customize the second column to have different datasources per cell via the following tutorial:
http://www.telerik.com/support/kb/winforms/gridview/cascading-comboboxes-in-radgridview.aspx
My case is slightly different though in that the value in the left hand column is fixed for the end user but still must have a dynamic drop down set created for it based on a runtime value. Additionally, there is no event in my execution as there is in the example that would invoke the CellEditorInitialized event and when I attempt to leverage the activeeditor as they have done in that example, I get a null.
If anyone has any insight of how to customize a GridViewComboBoxColumn to have variable datasources or has any other suggestions for a control that may be better fit to my goal, it would be appreciated. The variable nature of the number of parameters makes it such that I cannot populate the form with a set number of ComboBoxes and set those datasources accordingly. A GridView with a ComboBox column seemed to be the best fit.
The only other option that I can see is flipping the rows to be columns and having a single row with each column having a separate datasource. This landscape format is not something that would work well visually on the form though. Any help would be appreciated.
- I have a database with different fixtures. Each of these fixtures has a different set of parameters with n options (also stored in the db).
- The user picks the fixture that they want to customize from a DropDownList.
- A GridView refreshes based on the DropDownList with the the parameter name in the first column and the options for each parameter in a ComboBox cell in the next column.
I have tried to customize the second column to have different datasources per cell via the following tutorial:
http://www.telerik.com/support/kb/winforms/gridview/cascading-comboboxes-in-radgridview.aspx
My case is slightly different though in that the value in the left hand column is fixed for the end user but still must have a dynamic drop down set created for it based on a runtime value. Additionally, there is no event in my execution as there is in the example that would invoke the CellEditorInitialized event and when I attempt to leverage the activeeditor as they have done in that example, I get a null.
If anyone has any insight of how to customize a GridViewComboBoxColumn to have variable datasources or has any other suggestions for a control that may be better fit to my goal, it would be appreciated. The variable nature of the number of parameters makes it such that I cannot populate the form with a set number of ComboBoxes and set those datasources accordingly. A GridView with a ComboBox column seemed to be the best fit.
The only other option that I can see is flipping the rows to be columns and having a single row with each column having a separate datasource. This landscape format is not something that would work well visually on the form though. Any help would be appreciated.