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.
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.
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 ...