source: [view]
console.log("deleteRow in compat mode", row);
var row = this._selectedRow;
// First make the row invisible
// Put it back where it came from
dojo.style(row, {
visibility: "hidden",
minHeight: "0px"
});
dojo.removeClass(row, "hold");
// Animate reducing it's height to zero, then delete the data from the
// array
var height = dojo.contentBox(row).h;
dojo.animateProperty({
node: row,
duration: 800,
properties: {
height: {start: height, end: 1},
paddingTop: {end: 0},
paddingBottom: {end: 0}
},
onEnd: this._postDeleteAnim
}).play();