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
610
Combo box editor that accepts text or selection
posted

Hello,

  Does anyone know if there is a way to allow the cell being edited in the Grid to be able to display a combo for the user to select an option OR allow the user to type text into the editing cell that isn't in the combo's list?  It seems as if the combo is read only or only allows selection of what's in the list.

Thanks

Parents
  • 6759
    Offline posted

    Hi,

    XamGrid does not supports ComboBox columns out of the box at the moment, this feature will be included in our next volume release. However you could implement this as CustomColumn - to learn how to do so take a look at Devin Rader's blog post. This approach uses the ComboBox control from MS sdk which does not support editing.

    Another approach is described in this forum thread where XamComboEditor is put inside an EditorTemplate of a Template column. Using this approach you should set CustomValueEnteredAction="Add" if you want the typed text to be added to the XamComboEditor's ItemSource.

    HTH

Reply Children