Poseidon
08-13-2008, 01:12 PM
I'm not sure whether the Title (Reload/Refresh) is a proper one,
but this is what i want .............
Parent.mxml
-----------
Here i have a Datagrid and this Datagrid is loaded with values from the database using a function fnLoad()
This parent document also has a button to create a Pop-Up window,
and the Pop-Up window has the functionality to insert new rows into the
table, which is the same table which the parent docuemnt is using to populate the rows in its Datagrid
So, for example if there was 2 rows in the Datagrid of Parentdocument,
Now after inserting another row in the database from the Pop-up window
the parent window should be automatically called in and the function
fnLoad() should be invoked to get the latest data from the database.
Be it additon or deletion of rows from the database, the parent document should display the latest data ..
Have been trying it for sometime .. Guys out here .. pls do share your views and help me out ...
but this is what i want .............
Parent.mxml
-----------
Here i have a Datagrid and this Datagrid is loaded with values from the database using a function fnLoad()
This parent document also has a button to create a Pop-Up window,
and the Pop-Up window has the functionality to insert new rows into the
table, which is the same table which the parent docuemnt is using to populate the rows in its Datagrid
So, for example if there was 2 rows in the Datagrid of Parentdocument,
Now after inserting another row in the database from the Pop-up window
the parent window should be automatically called in and the function
fnLoad() should be invoked to get the latest data from the database.
Be it additon or deletion of rows from the database, the parent document should display the latest data ..
Have been trying it for sometime .. Guys out here .. pls do share your views and help me out ...