Home Forums WPF controls Xceed DataGrid for WPF Custom Cell Editor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #27153 |

    I am new to WPF. Can someone give me a ‘starter for 10’ how to write a custom cell editor that provides the functionality of the filters used in the Master/Detail sample code i.e. a drop down multi select list box with button to clear checked entries. Also when the list box is closed, the checked entries in the list box are used to provide the content for the cell, i.e. “CheckA;CheckB;CheckF”

    Imported from legacy forums. Posted by derek (had 530 views)

    Xceed Support
    Member
    Post count: 5658

    The Cell Editors topic in the documentation should help you get started.

    The drop-down you are referring to is the auto-filter control, and although it is not a cell editor, you could look at the Custom Auto-filtering Controls topic to get an idea of how it is constructed.

    Something you should keep in mind is that only one element in the cell editor can be bound using a CellEditorBinding. This means that if you have more than one control in your editor, you will need to identify 1 to which the binding will be applied, or create a property in the cell editor that corresponds to the value and to which the CellEditorBinding will be applied.

    There are many clients who have posted cell editor-related code on these forums, you may find some of them helpful as well. 

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2079 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.