render: function(ui) {
if (!ui.other) {
if(ui.cellData != undefined){
return '<span title=\'' + ui.cellData.replace(/\n/g,"
") + '\'>' + ui.cellData + '</span>';
}
}
}
There is a slight change in the code provided by you. And it is Working fine.