[flexcoders] Custom Collection Sorting

2012-04-05 Thread jbarts
Hi, I've got a problem where I need to sort a collection to match another collection's ordering. The ordering isn't standard like 1,2,3,4 our A,B,C but like 9,1,2,8,4,6 So in the unsorted collection would be ordered 1,2,3,4 but the sorted collection would be a custom ordering (which is ad

[flexcoders] TileLayout for DataGrid

2012-02-01 Thread jbarts
I have a need to toggle between a vertical layout and a tile layout in a datagrid. Has anyone experimented this? Any ideas on how to approach this? Jeff

[flexcoders] Re: AIR/Window/DataGrid Issue

2011-12-01 Thread jbarts
THis issue is very similar to : http://forums.adobe.com/message/3910406 The architecture is a loaded module pops up a new Native Window in AIR. The data grid inside the window fails with this stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference.

[flexcoders] Custom GridItemRenderer RollOver Behavior

2011-11-20 Thread jbarts
Hi, I'm just now using my first spark datagrid after rolling my own solution in Flex 4. I've got a column of the grid using a custom item renderer which displays the status of a particular data item - valid or invalid - by showing an appropriate icon. Im doing this by manipulating the states

[flexcoders] Error Tips on Spark Forms

2011-08-06 Thread jbarts
I have a panel with a spark form inside of it, 350px wide. I'm validating the user name and password text fields. The error text appears on the top of the elements and when there are multiple error items, they stack vertically and pushes the form downward. I can mitigate the behavior by