Example name: Flex DataGrid and Remote Data
Description: The example demonstrates the following:
  • Usage of Flex Remoting to retrieve data from a PHP data source and display it in a data grid
  • Usage of the DataGrid event model to handle data updates and propagate them to the server
  • Inline data grid editing to update server-side data
Client-side code: Browse  Download
Server-side code: Browse  Download
Run example:
Key points:
  • PHP class returns data which was retrived from mysql_query call
  • WebORB handles conversation of the returned data type into an array so it can be used as the DataGrid's data provider
  • There are two ways to update data source: inline editing in the data grid or using the form showing selected row data