Hi,
I am bringing data from a database into Flash MX 2004 in the following manner:
XMLConnector --> Dataset --> Datagrid
Of course, the Datagrid is the only thing the end user sees on the form. Does anyone know how to go about formatting the column headers for the datagrid?
For example, I may be returning 10 fields from the database, some of which are "key" related and the user should not see. Also, the column names in the database are certainly not what I want the user seeing so I'd like to change them.
So basically, how do I:
1)Select only certain columns to display in the datagrid
2)Change the columns from the database column name to something meaningful to the end-user in the datagrid
3)Change the order of display in the datagrid
However this is done, it must not negatively impact databindings between form fields and the dataset.
I've looked but everyone seems to be using field names from the database as column headers in their examples. I did get something to work one time using the "formatter-->rearrange fields" option but it must not have been the correct way because it interfered with my databinding, specifically fields not included in the "formatter" would not receive updates.
Thanks in advance! I know it must be much simpler than I'm making it.
J
I am bringing data from a database into Flash MX 2004 in the following manner:
XMLConnector --> Dataset --> Datagrid
Of course, the Datagrid is the only thing the end user sees on the form. Does anyone know how to go about formatting the column headers for the datagrid?
For example, I may be returning 10 fields from the database, some of which are "key" related and the user should not see. Also, the column names in the database are certainly not what I want the user seeing so I'd like to change them.
So basically, how do I:
1)Select only certain columns to display in the datagrid
2)Change the columns from the database column name to something meaningful to the end-user in the datagrid
3)Change the order of display in the datagrid
However this is done, it must not negatively impact databindings between form fields and the dataset.
I've looked but everyone seems to be using field names from the database as column headers in their examples. I did get something to work one time using the "formatter-->rearrange fields" option but it must not have been the correct way because it interfered with my databinding, specifically fields not included in the "formatter" would not receive updates.
Thanks in advance! I know it must be much simpler than I'm making it.
J