Hello,
I have a multiselect combobox that I'm trying to set the values for. The multiselect creates a string separated by commas. How can I use this string to set the values in the combobox when I do an edit? I would have thought that architect would take the multiselect setting into account and set the values, but no. More explanation below.
Here is the code for a regular combobox. The value correctly sets the setValue for the dropdown.
Here's the code for a multiselect combobox. No values get set for this. Any help or direction is appreciated.
I have a multiselect combobox that I'm trying to set the values for. The multiselect creates a string separated by commas. How can I use this string to set the values in the combobox when I do an edit? I would have thought that architect would take the multiselect setting into account and set the values, but no. More explanation below.
Here is the code for a regular combobox. The value correctly sets the setValue for the dropdown.
Code:
{ xtype: 'combobox', itemId: 'MTROOTCAS', fieldLabel: 'Stop Cause', name: 'MTROOTCAS', value: 'MTROOTCAS', size: 50, editable: false, displayField: 'RCCAUSE', store: 'StopCause', valueField: 'RCCAUSE' },
Code:
{ xtype: 'combobox', itemId: 'CSFIL1LIN1', fieldLabel: 'Container Codes - Top Line 1', name: 'CSFIL1LIN1', value: 'CSFIL1LIN1', size: 90, editable: false, displayField: 'ALPHA3', forceSelection: true, multiSelect: true, store: 'Coder', valueField: 'ALPHA1' },
Comment