Please call this code to convert the tooltip.
function formatTooltip(value, row, index) {
var fieldName = this.field
var fieldNumber = fieldName.split('_')
return '<div class="dg-tp" title="' + row['tooltipText_' + fieldNumber[1]] + '">' + value + '</div>'
}
$(function () {
$('#dg').datagrid({
// ...,
onLoadSuccess: function (data) {
$(this).datagrid('getPanel').find('.dg-tp').tooltip()
}
})
})