Ability to remove predefined CellEditors
ObjectListView - ListView on caffeine, guarana and steroids
Brought to you by:
grammarian
I think having some predefined cell editors is quite nice and very usable, but if one doesn't want to have a NumericUpDown for Integer editing, there should be a possibility to remove the predefined editor with some API like EditorRegistry.Unregister(Type).
In that case determining the cell editor should fall back to the default editor.
You can do this right now by registering a delegate that returns null:
I agree that
Unregisterwould be neater.Just an idea: What about having a new property for OLVColumns storing a delegate of type EditorCreatorDelegate to have individual cell editors for columns, which superseedes the EditorRegistry if the delegate != null ?
This feature has been checked into the code base and will be released in v2.10.