I want to customize the contents of datasource for my GridComboBox cell depending on a value in the same row. For example if productType field is 1, combobox should display
values a,b,c; if productType is 2, then it should display c,d,e and so on.
I''m trying to do this by extending the GridComboBoxCellModel and overriding the GetDataSource(GridStyleInfo info) method.
Currently my problem is that I can''t figure out how to get hold of the current row so that I could read the value from the "productType" column. I can get the rowIndex from styleInfo, but don''t know what I should do with it.
I''m using GridGroupingControl.