This code
slickgrid.onDblClick.subscribe(function(e){
var cell = slickgrid.getCellFromEvent(e);
console.log(cell.row, cell.cell);
});
prints 0, 0 if I double click the first row, on the first column – and so on.
But since column order can change at any given time, I need to get its name using its index.
How to achieve this?
Just get a reference to the current columns array: