In order to access the ComboxBox selected values, I have assembled the following script:
geteditorvalue: function (row, cellvalue, editor)
{
var items = editor.jqxComboBox(“getSelectedItems”);
checkedItems = [];
jQuery.each(items, function (index)
{
checkedItems.push(this.label);
});
var currentValue = checkedItems.join();
}
Now what is not clear to me is how to return (i.e. save) the currentValue back into the grid cell.
I tried ‘return currentValue;’ but this does not yield the correct (or any) result.
(Also, clicking on a different cell does not seem to close the editor. How does the editor close?)
Am I missing something here?
Any guidance on how to save the currentValue in the grid cell will be appreciated!
Alastair