Posted 26 February 2019, 12:52 am EST
Hello Richard,
Actually, C1TrueDBGrid and C1FlexGrid both are the different types of grid.
True DBGrid for WinForms allows you to work more easily in bound mode. True DBGrid for WinForms is better suited for data binding and, therefore, offers more features in that area, including split views and built-in hierarchical binding and grouping.
FlexGrid for WinForms, on the other hand, is more suited for working with unbound data; FlexGrid for WinForms includes features that allow you to customize trees and take advantage of its cell merging capabilities. You can also derive from it to create customized grids
FlexGrid supports the different editor for each cell. HoweverTrueDBGrid only supports the editor on column level only that’s why you face this problem. You cannot have the different editor on each cell in C!TrueDBGrid.
This is the only way to set the different editor on each cell by changing the editor of the column in “BeforeColEdit” event which you have already implemented in your sample.
Hope it clarifies.
Thanks.