Dear All

I am loading the data from xml and it is loaded to dataset. Now I want to
display only one field from dataset to datagrid. In design I made a binding
between dataset and datagrid for dataprovider.

In the script I added the following lines,

//customize the DataGrid
_root.user_dg.columnNames = ["USER_ID"];
//customize columns
_root.user_dg.getColumnAt(1).width = 100;
_root.user_dg.getColumnAt(1).headerText = "User Id";

I am facing following problems
1. Column Text (header text) is not displaying full
2. All the columns in the dataset are displaying in the grid

I went through all the threads and tried, but still its working properly.

Help me to solve this problem.

I am using Flash 8.

Thanks in Advance

When I excute it, the column heading is not coming full, and once I load the