1
Help for ParamQuery Grid (free version) / Re: Message on cell hover
« on: February 14, 2016, 09:02:29 am »
Update.....
The following:
$.extend(newObj.colModel[7], {
render: function (ui) {
var rowData = "<span title='tooltip test'>" + ui.cellData + "</span>";
return rowData;
}
} );
Gets me the correct data in the cells and the static "tooltip" text when hovering....but I need each tooltip to be the value from another (hidden) column....so here's what I've tried.
$.extend(newObj.colModel[7], {
render: function (ui) {
var rowData = "<span title='" + ui.cellData[6] + "'>" + ui.cellData + "</span>";
return rowData;
}
} );
But this is giving me "undefined" as the tooltip....
The following:
$.extend(newObj.colModel[7], {
render: function (ui) {
var rowData = "<span title='tooltip test'>" + ui.cellData + "</span>";
return rowData;
}
} );
Gets me the correct data in the cells and the static "tooltip" text when hovering....but I need each tooltip to be the value from another (hidden) column....so here's what I've tried.
$.extend(newObj.colModel[7], {
render: function (ui) {
var rowData = "<span title='" + ui.cellData[6] + "'>" + ui.cellData + "</span>";
return rowData;
}
} );
But this is giving me "undefined" as the tooltip....