Home Forums WinForms controls Xceed Grid for WinForms Custom CellEditorManager – need help! Reply To: Custom CellEditorManager – need help!

User (Old forums)
Member
Post count: 23064

Two possible solution.  First, if the value does not change once it is loaded into the grid, you could use the AddingDataRow event on the GridControl, and in the event handler, verify the value in the cell, and set the CellEditorManager to the control needed in the other cell.

Second, you could use a Panel as the TemplateControl for your custom CellEditorManager. Then your panel could contain the different controls you need.    In the SettingControlAppearance override, you could verify the cell.ParentRow to find the other cell value, and choose which control you want to display, and hide the others.

Imported from legacy forums. Posted by André (had 305 views)