Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by scott on Aug 03, 2007 09:46
open dhtmlx forum
Split doesn't have destructor

HI,
It looks like dhtmlXGrid_splt.js is missing the destructor function.  Something like this should be added, right?


this.destructorA = this.destructor;
this.destructor=function(){
    this.destructorA();
    this._fake.destructor();
}
Answer posted by Scott on Aug 03, 2007 20:17
Ooops, that doesn't work since _fake reference will already be null...this.destructorA() needs to be called after this._fake.destructor().  The below works, and it fixed a problem I had when trying to regenerate an existing tree grid:

this.destructorA = this.destructor;
this.destructor=function(){
     this._fake.destructor();
     this.destructorA();
}

Answer posted by Embre (Support) on Nov 28, 2014 21:38

I hope this information will be enough for you. But you also can have a look at colspan and asp.net events.