I have tried with your code as below:
{ title: "Status", dataIndx: "statusDataIndx, width: 120,
editor: {
type: autoCompleteEditor
},
Then I have declared as follows :
var autoCompleteEditor = function (ui) {
//debugger;
var $cell = ui.$cell,
rowData = ui.rowData,
dataIndx = ui.dataIndx,
width = ui.column.width,
cls = ui.cls;
var dc = $.trim(rowData[dataIndx]);
var $inp = $("<a href='#' id='myLink' class='MyClass'>"+rowData[17]+"</a>")
.width(width - 6)
.appendTo($cell)
.val(dc);
}
but I am not able to see any effect on that particular column except editor : textBox
.
Please tell me where I am wrong.