I do not quite understand the intention. Could you tell me what is the cost here? I’ve loaded your settings here https://jsfiddle.net/6mt79vdw/ so we can work on that demo.
Consider a product having following features
Product= {name: “chocolate”, status:“available”, quantity: 4, cost: 200}
I want to show the table in below manner
Col1
chocolate
Col2
Available with cost of 200
So second column consists of multiple attributes from the same data
If that should be applied only for the cell renderer then you can use the custom renderer logic like in this demo https://jsfiddle.net/u1jfse9x/. But then the cell value is empty.
That’s more like accessing it from global list with just row attribute. But, I was looking for internal solution of sending multiple attributes to one column. Is that not possible directly from this variable?
var hot = new Handsontable(example1, {
data: shop,
licenseKey: 'non-commercial-and-evaluation',
colHeaders: true,
columns: [
{data: 'name'}, {data: '--ANY WAY TO SEND TWO ATTRIBUTES--'}
]
});