

Ans:
There are three types of data grid available which are following.
for example:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<fx:Script>
<![CDATA[
private function gridinitialize():void {
data.dataProvider = [
{aName:'Bikrant', DOB:'01/01/1986',
City:'Delhi', State:'NewDelhi'},
{aName:'Brijesh', DOB:'15/07/1984',
City:'Noida', State:'Uttar Pradesh'},
{aName:'Gaurav', DOB:'27/06/1989',
City:'Mumbai', State:'Maharashtra'}
];
}
]]>
</fx:Script>
<s:Panel title="DataGrid Control Example" width="428" height="409">
<mx:DataGrid id="data"
initialize="gridinitialize()"
x="12" y="12"
borderColor="#000000"
borderStyle="solid"
chromeColor="#000000"
color="#90BB2A"
fontFamily="verdana"
fontGridFitType="pixel"
symbolColor="#FFFFFF"
textAlign="center"/>
</s:Panel>
</s:Application>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.