Not finding what you are looking for? Request a recipe!
The main crux is the item renderer to be used by the datagrid. We can then set color of one of the column or all of the columns of the selected row of datagrid.
The Datagrid headers need to be combo boxes, so the header renderer will be used. Also a filtering function will be written.
I used Timer and Date class to implement this clock. The clock also has the functionality to dispatch events for (every second, every minute, every hour). This clock can be extended to add other functionality as well.
This Workflow component can be handy in situation where we want to show logical steps to be followed to complete the process. For example Filling up a form etc.
I would be using a as3xls library for import/export. The code I am showing here may not be very clean, as I wrote it for one of my projects and sharing it here for saving flex developers from their worst nightmares :D. You will need SDK 3.4 or higher and Flash Player 10 for this code to work.
The code will traverse source array collection and will take out one item at a time. That item will be checked in target array collection. If that is present it will be removed.
There are two solutions. One is useful when array collection is continuously updated or updates very frequently. In that case we need to write a event handler for Collection Change event and then need to update the data-provider of each combo box. Another situation is array collection doesn't change ...
We will be writing class TreeNodeH (Hierarchical Tree Node) and TreeCreator class which can be used as a utility class to create a tree out of flat array collection.