I want to utilize multiple attributes in one column.
ctrl.colHeaders = [
"Name",
"Status",
];
ctrl.columns = [
{ data: "name", className: "htCenter htMiddle" },
{ data: "status", className: "htCenter htMiddle" },]
Below is my custom renderer:
myTooltipRenderer(instance, td, row, col, prop, value, cellProperties) {
Handsontable.renderers.TextRenderer.apply(this, arguments);
td.innerHTML = '';
var divMain = document.createElement('DIV');
divMain.title = 'This is dummy tooltip';
divMain.innerHTML= value
td.appendChild(divMain);
}
I want to send say “cost” with “status” attribute, how am I suppose to do that?