I have a databound grid with a cell which is of type combobox (bound to another dataset).
I''d like to set the next 2 cells enabled/disabled according to the selection of the combobox.
e.g. if combobox is "Next Year" then the next 2 cells are disable if it''s "Base Year" then the next 2 cells are enabled.
Thanks in advanced.
ADAdministrator Syncfusion Team November 26, 2004 01:20 AM
Try handling the grid.Model.QueryCellInfo event.
In your handler, if e.RowIndex > 0 and if e.ColIndex points to one of the ''next two cells'' you mentioned, then get the value of the comboxcell and set e.Style.Enabled accordingly.