A requirement came up recently requiring that my DataGrid column sort alpha-numerically, but with all the nulls pushed to the bottom. Providing a custom sort without considering the column’s sortDescending attribute worked with descending, but not ascending sorts. The values would be at the bottom for descending with all the nulls at the top. To […]
Thank you ActionScript! All these years of using a keyboard and today I’ve found the answer to a question you never asked. Please, do tell… Q: What is that thing sharing a key with the tilde? A: A “straight left quotation mark”. And your follow up question, naturally… Q: What the hell is it used […]
This isn’t out there enough, so I’m writing it down. Any singleton based manager, such as PopUpManager or DragManager must be initialized in the parent application before use in the module. This is so that the parent application becomes the first to register the manager as a singleton (first in wins) permitting, therefore, the manager […]
Never put much thought into it, but it strikes me tonight that OO writers like to use concrete objects. Argue if you will that they’re more maintainable, or the debugger is easier using them, but sometimes they’re just boiler plate if you don’t need a fully developed object. I mention all this because I’m looking […]
Rotating text in Flex is simple enough, but it frustratingly took me a sufficient amount of digging to find the solution. Thus, a quick note on the topic. Doing this effectively breaks each character into a row and rotates it. The consequence is lineHeight becomes your new kerning. Not a biggie, but you’ll have to […]
Adding a ContextMenu to a DataGrid component is a simple enough task. Accessing the data from the row you right-clicked on is another matter.