Hello my question is:
How to get column index from cell, my code:
function eXcell_button(cell){
if (cell){
this.cell = cell;
this.grid = this.cell.parentNode.grid;
}
this.edit = function(){}
this.isDisabled = function(){ return false; }
this.setValue=function(val){
var row_id=this.cell.parentNode.idd;
this.setCValue("",val);
}
}
eXcell_button.prototype = new eXcell; // nest all other methods from base class
BUT GET UNDEFINED, WHAT IS THE PROPERTY THAT GIVE ME THE INDEX COLUMN?
var ind=this.cell.cellIndex gives you index of a column
Thanks !!!