hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  Flash button as Flex icon  Flex form by email  Hello Remoting with AS3  AS3 Saving data from Flash  AS3 Loading data into Flash  Fire Effect  Contact form  Dragable buttons  Hello World with openamf  Loading helper classes  Upload with Flash 8  Transitions effects  Snapshot with Flash 8  Hello World Remoting AS2  Flash AS2 Remoting Connector  Saving data from Flash  Loading data into Flash  FlashCom & Remoting login  Cell Renderer API  Editing a table using remoting components  Flash MX2004 web service classes  Browsing a catalog  amfphp Documentation  Hello World Remoting  Online Store with AMFPHP  Flash clients for Web Services  Web Service Walk Though with NuSoap  Popup windows in flash with javascript  Installing Apache/PHP  MoreOver News Feeds  Load Edit Save Text Files via CGI  Save Movie Clip Postion via PHP and MySQL
 Read Full Documentation >>

Cell Renderer API: components inside a Datagrid

By: Jorge Solis

Goals

This example shows how you can use components inside the the datagrid. If you have not worked with data binding before, it is recommended to first read the following Browsing a Catalog >>.

In this example a checkbox, combobox and a custom icon is used inside the datagrid component. The flash mx 2004 documentation briefly explains how to add components to a cell using the Cell Renderer API, but it is difficult to understand and use. Luckily there is an example that we can use as a base to expand upon (mx.controls.cells.CheckCellRenderer). By following how this works it is not difficult to figure out how to add other components to a cell.

Before starting, download the example file >>

Here is our working movie. This is meant to be as simple as possible while still providing an example you can play around with.

Continue Reading >>