Custom excell func (row id)

How do i get the current rows id from within the excell method below. Thanks in advance

function eXcell_button(cell) {
if (cell) {
this.cell = cell;
this.grid = this.cell.parentNode.grid;
}
this.edit = function () { }
this.isDisabled = function () { return true; }
this.setValue = function (val) {
this.setCValue("", val);
}
}
eXcell_button.prototype = new eXcell;

this.cell.parentElement.getAttribute(“idd”);

Hi,
The above line of code does what i need. Is this the correct approach?
Thanks

Yes, this is correct approach

Many thanks for responding.