Quantcast
Viewing all articles
Browse latest Browse all 10

Setting the file size display mode in the Flex FileSystemDataGrid control in Adobe AIR

The following example shows how you can toggle whether the Flex FileSystemDataGrid control in Adobe AIR shows file sizes in bytes or kilobytes by setting the sizeDisplayMode property to one of the static constants in the mx.controls.FileSystemSizeDisplayMode class. <?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2010/03/10/setting-the-file-size-display-mode-in-the-flex-filesystemdatagrid-control-in-adobe-air/ --> <mx:WindowedApplication name="FileSystemDataGrid_sizeDisplayMode_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" width="600" minHeight="400">   <mx:ApplicationControlBar dock="true"> […]

Viewing all articles
Browse latest Browse all 10

Trending Articles