Hello!
I’d like to customize a DataGrid for Print, and there should be no visible Cells or Borders, so I did like this:
package {
import fl.controls.listClasses.CellRenderer;
import flash.text.TextFormat;
import flash.text.TextFormatAlign;
public class alterCellRenderer extends CellRenderer {
public function alterCellRenderer() {
}
override protected function drawBackground():void {
setStyle("upSkin", CellRenderer_upSkin2);
setStyle("overSkin", CellRenderer_overSkin2);
setStyle("skin", DataGrid_skin2);
super.drawBackground();
}
}
}
I customized the upSkin so that there is no border in it, and it works good but I can’t change the “DataGrid_skin2” I made (with no border). I tested this:
setStyle("skin", DataGrid_skin2);
but it won’t work …
any Ideas? Sorry for my bad english.
King regards