wainui
04-26-2005, 11:11 PM
Hi,
I have a data grid which I am formatting with the following global styles
// style stuff
_global.style.setStyle("color", 0x000000);
_global.style.setStyle("fontSize", 8);
_global.style.setStyle("fontFamily", "standard 07_55");
_global.style.setStyle("embedFonts", true);
//
The on the frame it appears I am also adding
myDataGrid.rowHeight = 15;
myDataGrid.headerHeight = 15;
myDataGrid.setStyle("headerStyle", headerStyles);
myDataGrid.setStyle("headerColor", 0xffffff);
This works fine but in my movie if I go to another frame then back to the datagrid on reloading I lose my formatting.. The font stays OK it is more the row height defaults back to 20 (or more)..
Any ideas how to stop this???
Thanks..
I have a data grid which I am formatting with the following global styles
// style stuff
_global.style.setStyle("color", 0x000000);
_global.style.setStyle("fontSize", 8);
_global.style.setStyle("fontFamily", "standard 07_55");
_global.style.setStyle("embedFonts", true);
//
The on the frame it appears I am also adding
myDataGrid.rowHeight = 15;
myDataGrid.headerHeight = 15;
myDataGrid.setStyle("headerStyle", headerStyles);
myDataGrid.setStyle("headerColor", 0xffffff);
This works fine but in my movie if I go to another frame then back to the datagrid on reloading I lose my formatting.. The font stays OK it is more the row height defaults back to 20 (or more)..
Any ideas how to stop this???
Thanks..