TimeTracker Updated - Dealing with long strings in Flex DataGrids

I've updated TimeTracker again. This version includes the code fixes by Sid Wing (thanks!) which was part cleanup and a fix to the mx:Legend. I agree with Sid's comment that the docs could certainly be clearer.

I also removed the 'Enter key submits hours' thing so folks could enter multiline task descriptions. This is where I ran into an issue with the Flex DataGrid. It refused to correctly render the text in a readable format. Thanks to Scott Stroz for pointing out the variableRowHeight attribute for Flex DataGrids.

<mx:DataGrid id="todayshours" dataProvider="{todaysHoursData}" width="100%" height="100%" sortableColumns="true" variableRowHeight="true">

Oh my sweet little adorable Flex DataGrid, is there anything you cannot do?

I also added word wrap to the description columns as well as sorting. (Although I bet date sorting isn't quite right.)

Next up is the CSV export. After that is done I plan on releasing the code to RIAForge since there seems to be some interest.

Comments

mx:Legend? what a sweet name for a tag...

i only wish we had a <cflegend> - of course it would only accept one attribute...

<cflegend name="ray" />

ok sorry...i'm done bein goofy...
# Posted By todd sharp | 3/26/08 11:59 AM
why the name attribute at all? wouldn't it just default to ray?
# Posted By charlie griefer | 3/26/08 12:18 PM
it does, but for ego purposes he likes to go ahead and code it...
# Posted By todd sharp | 3/26/08 12:35 PM