You shouldn't need a function to populate your view. Use bindings to
tie it to the data model. It might also be worth looking over the
docs for the DataGrid and TabNavigator to see what events they fire
and when.
Cheers,
Lach
On 10/12/2006, at 5:14 AM, bghoward3 wrote:
here is my situation
i have an app with 2 states, the first state is a dashboard with a
grid on it when user clicks item in grifd it goes to state 2 where a
tabnavigator exists and the compoents display the selected items
information
this works fine the first time through since my function to populate
is called on the creationcomplete of the embedded component
i am having a problem in getting it to redraw or send it the
function to redraw since since the component lies in a differnt
sdtate.
so is there a way to call a function everytime in an embeded
component whenever the new state loads so that the info populates
correctly?
or do i need to create some sort of listener
thanks