I am currently try to add new column to multiple handsontable instance. My data source is an array with object like :
[
{
data: "1",
type: "numeric"
}
]
And colHeaders is a simple array :
["Price"]
But when i add element in settings and use updateSettings, the hot display a new column without custom header and with empty reference (prop, col) in cells option function :
return function (row, col, prop) {
// prop & col = null
var colSettings = this.instance.getSettings().columns[col];
return cellProperties;
}
I am trying to create JSFiddle, but it works so if you have any idea, maybe i forget something ?
Thans for your reply ;),
I am sorry, as you can see in this example (http://jsfiddle.net/09vnq18d/) it still works i think in my project something altered with the updateSettings.
I am going search again and come back with the solution (perhaps )
Hi @jsiali
I’ve tried to create a similar case from a scratch and made this example: http://jsfiddle.net/rz6ydgnc/
Am I missing some crucial settings here? It looks like it works fine
Yes you forget manualColumnMove settings, i made this example : http://jsfiddle.net/m1qvLpj0/
As you can see it doesn’t works with manualColumnMove as true.