Get Tittle Header
Hi,
I want to get a header/tittle when I change cell.

if I change Jazz, can I get "Car" or "Car1" I use onchange event but I get "A1".
can you help get what I want?
This is how you do it.
<html>
<script src="https://bossanova.uk/jexcel/v3/jexcel.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jexcel/v3/jexcel.css" type="text/css" />
<script src="https://bossanova.uk/jsuites/v2/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v2/jsuites.css" type="text/css" />
<div id="spreadsheet"></div>
<script>
var data = [
['Jazz', 'Honda', '2019-02-12', '', true, '$ 2.000,00', '#777700'],
['Civic', 'Honda', '2018-07-11', '', true, '$ 4.000,01', '#007777'],
];
jexcel(document.getElementById('spreadsheet'), {
data:data,
columns: [
{ type: 'text', title:'Car', width:120 },
{ type: 'dropdown', title:'Make', width:200, source:[ "Alfa Romeo", "Audi", "Bmw" ] },
{ type: 'calendar', title:'Available', width:200 },
{ type: 'image', title:'Photo', width:120 },
{ type: 'checkbox', title:'Stock', width:80 },
{ type: 'numeric', title:'Price', width:100, mask:'$ #.##,00', decimal:',' },
{ type: 'color', width:100, render:'square', }
],
onchange: function(instance, cell, x, y, value) {
alert(instance.getHeader(x));
}
});
</script>
</html>

can you tell me what is wrong? I just copy and paste your code
Sorry, my mistake.
Please change: instance.getHeader(x) to instance.jexcel.getHeader(x)
How can I get the real title; Car=A Make=B
instance.jexcel.getHeader(x) you can get Car, Make, Etc.
Thank you. I found an internal way to get it