database - datagrid use data of auto selectedIndex - data race - Flex -
i have datagrid loads contnet database.
once data has been loaded have function has selectedindex=0;
right after call function tries display selected item across couple of labels.
the problem nothing loads in labels unless run functions twice.
i'm guessing sort of data race problem item hasn't been selected time function displays items in labels runs.
so whats workaround how can item selected before next function runs.
put next function call in calllater();
selectedindex = 0; calllater(function():void { //nextfunction() });
Comments
Post a Comment