jobbietron
11-21-2005, 04:33 PM
i'm trying to resize column widths on a datagrid (setup like xml connector >> dataset >> datagrid). Trouble is that the grid only seems to know the column index' after way after the on(load). I dont have the option to add the style stuff into the xml file so i've got to do something at a later point in the cycle.
I know in v2 components they have a doAfter thingy but i'm on Flash7 and so don't have that option.
I have tried a pretty stinky workround by firing something off on the 3rd draw routine in my grid but it's a pretty foul attempt! Any help would be appreciated.
thanks.
johnny
I know in v2 components they have a doAfter thingy but i'm on Flash7 and so don't have that option.
I have tried a pretty stinky workround by firing something off on the 3rd draw routine in my grid but it's a pretty foul attempt! Any help would be appreciated.
thanks.
johnny