Home Tutorial Flex Flex-components Flex DataGrid control


Share on Google+Share on Google+
Flex DataGrid control
Posted on: April 2, 2010 at 12:00 AM
you can see in this tutorial you can see how to create DataGrid in flex.

DataGrid in Flex:-

A DataGrid is a control in flex which is display data in the table format and also provide the property to edit in the table items and display via custom renderers. The main features of the DataGrid is that, you can resize the columns and modify the columns and set row header, editable and user can drag and drop capability.

In this Tutorial you can see how to create a DataGrid and what is the procedure to provide data by array collection.


<?xml version="1.0"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Panel width="420" height="300" title="DataGrid Panel">

<mx:DataGrid backgroundColor="green" borderColor="black" borderThickness="2" width="400" height="200" editable="true" selectable="true">



<mx:state>Utter Pradesh</mx:state>





<mx:state>Utter Pradesh</mx:state>





<mx:state>Utter Pradesh</mx:state>





<mx:state>Madhya Pradesh</mx:state>











<mx:DataGridColumn dataField="state" />

<mx:DataGridColumn dataField="Distname" />

<mx:DataGridColumn dataField="population" />








Related Tags for Flex DataGrid control:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 2, 2010

Recommend the tutorial

Advertisements Advertisements