photography by Kristel van Beek
posted by: martijn, at 3 August 2006 9:00 GMT+1, 17 August 2009 23:29 GMT+1
mx.controls.DataGrid.prototype._initHeaders = mx.controls.DataGrid.prototype.initHeaders;
mx.controls.DataGrid.prototype.initHeaders = function(Void):Void{
this._initHeaders();
for (var i=0; i<this.columns.length; i++) {
this.header_mc["hO"+i]._visible = false;
this.header_mc["sep"+i]._visible = false;
}
}
mx.controls.DataGrid.prototype.drawHeaderBG = function(Void):Void{
var mc : MovieClip = this.header_mc;
mc.clear();
}
Not a very gracefull solution but it works. I'm still searching for a solution to make the background fully transparent.