Flex AdvancedDataGridColumn formatter bug?
I’ve been using formatter property of AdvancedDataGridColumn for some time now to format dates better. Some time ago I have noticed all dates appear as DD/MM/100. I couldn’t find solution for removing 100 and having correct year number instead. Today I fiinally figured out what is going on there. When you open AdvancedDataGridColumn.as in Flex Builder and scroll down to applyFormatting function you’ll see the reason. applyFormatting takes String as its only argument. And it should be Object as Formatter.format accepts an Object. The only solution to format dates in AdvancedDataGrid seems to be custom itemRenderer then.
About this entry
You’re currently reading “ Flex AdvancedDataGridColumn formatter bug? ,” an entry on ria:it
- Published:
- 4:48 pm on 04/08/2008
- Category:
- ActionScript
No comments
Jump to comment form | comments rss [?] | trackback uri [?]