Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Custom cell editor
posted
Hello, I have a grid that has each cell value represented by DataCell class: class DataCell { string DataValue { get; set; } Type DataType { get; } override ToString() { return DataValue; } } That is UltraGridCell.Value has DataCell object set to it. There is no way to change this. There is a requirement that each cell that represents bool type should be represented by a check box cell. As I understood the easiest way to achieve this is to write my own EmbeddableEditorBase (lets say MyEditor), that will delegate most of its functions to CheckEditor (CheckEditor will be encapsulated within MyEditor). The only thing it should do differently is to fetch/commit values from/to the underlying data - string representation of bool instead of bool intself. Does it look like something that can be easily achieved? I'm new to editors, so any help will be appreciated. Thanks, Paulo
Parents Reply Children
No Data