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
5124
Looking for a Multi-Column (Grid-like) XamComboEditor
posted

A customer recently opened a support case asking for a sample of a grid-like drop-down (i.e., multiple columns with a single header) in a XamComboEditor.  The reply below contains the sample; I hope this sample will be useful to others...

Parents
No Data
Reply
  • 5124
    posted


    The attached sample demonstrating a multiple-column drop-down in the XamComboEditor was put together by Devin Rader : http://community.infragistics.com/members/devinrader/default.aspx

    Some comments paraphrased from Devin on this particular sample:


    There are a couple of comments in the XAML at the places where I had to change the default templates.


     


    I changed the default template of both the XamComboEditor control, and the ComboEditorItemControl, then used the ItemTemplate in thecontrol to make this work. 


     


    ·         In the XamComboEditor I added another Grid panel to the template to add the headers in the popup. 


    ·         In the ComboEditorItemControl I changed the container that holds the checkbox and the items contentpresenter so that the content would stretch to the width of the popup.


    ·         In the actual XamComboEditor control, I just use the ItemTemplate to define the content of each item in the popup.

    MulticolumnComboEditor.zip
Children