Great! Your example helped me find my error.
For the benefit of others, here were my errors.
– On the data adapter, I was not defining the datafield correctly. I should have had the column as follows:
{ name: ‘AssignedToUserId’, displayname: ‘AssignedToUsername’ }
(I was missing the “displayname”).
– On the GRID, I also was missing the displayfield property. I should have had my column as follows:
{ text: ‘Assign to Patient’, datafield: ‘AssignedToUserId’, displayfield: ‘AssignedToUsername’, editable: true, columntype: ‘combobox’, width: 300,
// Show a combobox editor
initeditor: function (row, cellvalue, editor) {
editor.jqxComboBox(
{
source: sfDropbox.dataadapterPatients,
theme: sfDropbox.theme,
selectedIndex: -1,
displayMember: ‘PatientDetail’,
valueMember: ‘UserID’
});
}
}
– o –
Once I added the two “displayfield” properties, all worked as expected.
Thanks!
E