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
665
CheckedListBox as editor for a column
posted

Hi,

I have a requirement where in a certain column user should be able to select some values from a list. My approach is to have a column that has a dropdownlist style. When popup I want a checkedlistbox to be displayed where user can select some of many items of type KeyValuePair(string, string).

In the cell itself I wand the list of selected keys to be stored, but in the front end i want the list of Values to be displayed.

Can this be done using UltraWinGrid?

Do you have a quickstart how I could achieve this?

Kind regards

Patrick

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Patrick,

    Which part of this is giving you trouble?

    I think you will need to use either UltraCombo or UltraComboEditor for this and set it up for mutli-select and then attach it to the column in the grid via the EditorComponent property.

    Translating from DataValue to DisplayText is simply a matter of setting the correct ValueMember and DisplayMember (if you are binding) or the DataValue and DisplayText on each item (if you are not binding).

Reply Children