Posts Tagged ‘DataGrid’

h1

DateField as ItemRenderer

November 30, 2008

If you try to put the dateField as itemRenderer for a DataGridColumn directly using mx.controls.DateField, the chances of getting a runtime error is very high. In fact 9 out of 10 times, you will end up getting an error saying that it is unable to convert string to date. Here is a solution to that.

Run Demo
Download Source

h1

Two Input Boxes in DataGrid’s ItemEditor

August 10, 2008

Alex has created a wonderful workaround in scenarios where you will need two or more input boxes in a single itemEditor in a DataGrid. Have a look:

See it on Alex’s Blog

Thanks Alex!

h1

DataGrid Showing Date Difference in ToolTip

July 13, 2008

Again a request from Flex India group, I created a DataGrid which has two columns showing dates. And the tooltip for these colums show the difference between the dates in days as a ToolTip.

Run Demo
Download Source