Datagrid problem

0 views
Skip to first unread message

anilkumar katakam

unread,
Nov 16, 2008, 6:27:45 AM11/16/08
to Flex India Community
I am having datagrid.
Am sending request through myHttpService.send() and am getting data
that is having 4 fields but i want only 2 fields to be displayed in
datagrid....

How to make it?

Thanks in advance

Romulko

unread,
Nov 16, 2008, 3:51:15 PM11/16/08
to Flex India Community
You can apply only two DataGridCollumns for the necessary fields :

var xml:XML =
<data>
<firstNode>First Node</firstNode>
<secondNode>Second Node</secondNode>
<thirdsNode>Second Node</thirdsNode>
</data>


<mx:DataGrid>
<mx:columns>
<mx:DataGridColumn dataField="firstNode" headerText="First"/>
<mx:DataGridColumn dataField="secondNode" headerText="Second"/>
</mx:columns>
</mx:DataGrid>





On Nov 16, 1:27 pm, anilkumar katakam <anilkumarkata...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages