# Urgent DataGrid!

**URL:** <https://forum.kirupa.com/t/urgent-datagrid/242086>\
**Category:** flash\
**Created:** [October 22, 2007, 9:08am UTC](https://forum.kirupa.com/t/urgent-datagrid/242086 "2007-10-22T09:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [October 22, 2007, 9:08am UTC](https://forum.kirupa.com/t/urgent-datagrid/242086/1 "2007-10-22T09:08:46Z")

</div>

I’m using a datagrid to display the values of an array for a menu. The problem I have is I can’t get the values of the array to display on different rows.

```auto
 
function dataGridFunction(){
 
 
for (i=0; i<gotoArray.length; i++){
myDataGrid.addItem({BookMark:gotoArray*})
}
}

```

This is a very brief clip of my code… gotoArray values are set else were in my code. I am really stuck on this as I can’t find any tutorials or many people who use datagrids! Any help would be amazing.

Thanks
