# Problem in datagrid

**URL:** <https://forum.kirupa.com/t/problem-in-datagrid/253897>\
**Category:** Uncategorized\
**Created:** [March 6, 2008, 5:58am UTC](https://forum.kirupa.com/t/problem-in-datagrid/253897 "2008-03-06T05:58:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freedrick](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@Freedrick](https://forum.kirupa.com/u/Freedrick)\
**Post date:** [March 6, 2008, 5:58am UTC](https://forum.kirupa.com/t/problem-in-datagrid/253897/1 "2008-03-06T05:58:11Z")

</div>

Hi All,  
I am new in action script… i need help from you…  
i have the problem in datagrid… The problem is i inserted a array values into datagrid using dataprovider .The datagrid contains three columns . The columns are automatically change the column order for example…  
first column : ID  
second column : Name  
Third column ; Place  
i assign a values to datagrid like above… but the changes the column order automatically run this code whenever… like 1st coumn : Name 2nd column ; Place 3rd Column :ID … next time 1st coumn : ID 2nd column ; Place 3rd Column :Name

```
              thanks in advance....
```
