Ok, if you really want to add 'name' property into combobox editor, please override the 'init' function:
$.extend($.fn.datagrid.defaults.editors.combobox,{
init: function(container, options){
options = options || {};
var combo = $('<input type="text">').attr('name',options.name).appendTo(container);
combo.combobox(options);
return combo;
}
});
Now define the 'combobox' editor with 'name' property, just like this:
<th field="...", data-options="
editor:{
type:'combobox',
options:{
name:'test[]',
valueField:'rid',
textField:'value',
url:'<?php echo site_url('be/be_features_values/do_dropdown')?>',
multiple:true,
width:250,
onBeforeLoad:function(param){param.rid=rowData._features_rid;}
}
}
">...</th>