hmm,
Works partially now: (Doesn't show the options values, just an empty "Select All" and one empty checkbox.
It works fine without grid though...
var selectEditor = function (ui) {
var $cell = ui.$cell,
rowData = ui.rowData,
dataIndx = ui.dataIndx,
cls = ui.cls,
dc = $.trim(rowData[dataIndx]);
var options = ['', 'FName1 LName1','FName2 LName2','FName3 LName3'],
str="";
for (var i = 0; i < options.length; i++) {
str += '<option value="' + i + '">' + options + '</option>';
}
var $sel = $('<select id="example" multiple="multiple" name="' + dataIndx + '" >'+str+"</select>")
.appendTo($cell)
.val(dc)
.multipleSelect({
width: ui.column.width
});
};