# How to compose fields in a List or DataGrid component?

**URL:** <https://forum.kirupa.com/t/how-to-compose-fields-in-a-list-or-datagrid-component/232504>\
**Category:** flash\
**Created:** [July 14, 2007, 6:29pm UTC](https://forum.kirupa.com/t/how-to-compose-fields-in-a-list-or-datagrid-component/232504 "2007-07-14T18:29:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SparseMatrix](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@SparseMatrix](https://forum.kirupa.com/u/SparseMatrix)\
**Post date:** [July 14, 2007, 6:29pm UTC](https://forum.kirupa.com/t/how-to-compose-fields-in-a-list-or-datagrid-component/232504/1 "2007-07-14T18:29:52Z")

</div>

I am going to use a List or DataGrid component very much like the one demonstrated in the tutorial “Using the DataGrid Component”, [http://www.kirupa.com/developer/flash8/datagrid.htm](http://www.kirupa.com/developer/flash8/datagrid.htm). In my case, I am not constructing an array, I am using the XMLConnector and DataSet components much like the tutorial from Adobe, Data Integration: Using XML for a Timesheet ["http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs\_Parts&file=00000354.html](http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000354.html)".

What I need to know is how do you use the fields moved between these data providers in order to create a new field composed of the other. In the Kirupa tutorial for example, I would like to use the component to create a new field out of the separate First and Last fields so that you have a new string, “Last, First” with the comma being an added part.  
I think I see something in the documentation to suggest that it is possible through the component inspector using formatting, but I see no useful documentation actually explaining how to do it.

Any and all tips or clues would be appreciated, even a reference would help.
