The table was working like a charm without any issue for months. there was no update from our side with the code.
$('#table').on('click', 'tbody td', function (e) {
var idx = table.cell(this).index().column;
var title = table.column(idx).header();
colName = $(title).html()
if (colName.trim() === "Comments") {
editor.bubble(this, {
onBlur: 'submit'
});
} else {
editor.inline(this, {
onBlur: 'submit'
});
}
});