I have custom editors this way
var HucreS = function (ui) {
var $cell = ui.$cell
,rowData = ui.rowData
,rowIndex=ui.rowIndx
,dataIndx = ui.dataIndx
,width = parseInt(ui.column.width) - 40
,cls = ui.cls
,dc = $.trim(rowData[dataIndx]);
$cell.append("<input type='text' name='" + dataIndx + "' id='" + dataIndx + "' value='" + dc + "' class='" + cls + " fl ls' style='z-index: 40000;width:" + width + "px;' autocomplete='off'/>"
+"<span class='ui-widget-header fl ek' onclick=\"window.parent.Popuir('../Liste.asp?js=10&l=gssk&e="+rowIndex+"&a=KOD|ADI&v=KOD|ADI',760,540,'Liste');\"><i class='ui-icon ui-icon-search ck'></i></span>"
+"<span class='ui-widget-header fl ek' onclick=\"window.parent.Popuir('../Kart.asp?menu=h&KOD="+dc+"',960,540,'Kart');\"><i class='ui-icon ui-icon-plus ck'></i></span>"
);
};
I am using with this code
editor:{type:HucreS}
Areas underlined are parametric
...onclick=\"window.parent.Popuir('../Liste.asp?js=10&l=gssk&e="+rowIndex+"&a=KOD|ADI&v=KOD|ADI',760,540,'Liste');\"><i class='ui-icon ui-icon-search ck'></i></span>...
I want to send data this way, but it doesn't.
editor:{type:HucreS('CODE|NAME','AREA1|AREA2')}