Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
bobobob webforumsuser@macromedia.com #1
DataGrid - Adding labels: and adding data to cells
I am just getting started with flash scripting.
My downfall is trying to get the dynamic output to display in flash. I tried using the list component,
but there didn't seem to be a way of formatting the data into columns, so I'm trying to get my data
in to individual cells in a DataGrid.
My example is very simple. I use the; inst.sendAndLoad(); objet to get data from a CF .cfm script.
The data returned looks like this;
//This is the output from the Debug list variables
Variable _level0.LoadLastName = [object #148, class 'LoadVars'] {
LastName:"A"
}
Variable _level0.LastNameIn = [object #149, class 'LoadVars'] {
onLoad:[function 'onLoad'],
:,
LastName0:"Abel",
<br>
:,
FirstName0:"Todd",
Ext0:"5953",
<br>
I have been able to get the data to display on the grid using the DataGrid.addItem(), but it all loads to one column. I know there are other Methods such as .addItemAt().... Just not sure where to start.
I would like the output to look like this;
------------------------------------------------------------------
| Last Name | First Name | Extension |
-----------------------------------------------------------------
| Abel | Todd | 5953 |
| | | |
-----------------------------------------------------------------
Thanks.
bobobob webforumsuser@macromedia.com Guest
-
Filtering data and adding headers within same datagrid
Hello, Posted this over on the ADO.net group but it belongs here. I am working on a ASP page with a datagrid that has 5 columns that I bind to... -
Adding controls to the cells of a dat grid
Dear All, Is it possible to use to the datagrid to take inputs from the user by placing controls in the cells of the grid and saving everything... -
Adding a New Row in Datagrid
How to add a new row to a datagrid. i read a column could be added dynamically to datagrid.same way how can we add a row dynamycally after binding... -
Adding points to a database ( adding / subtrating numeric values)
HI all, I have build a user database that comes with user points for browsing private section of my site. I would like to know what is the... -
adding row to datagrid
Hi After the Delete Operation. Set the SelectedIndex property of DataGrid to -1 HTH Prasad "Luis Rivera" <sabio04@yahoo.com> wrote in...



Reply With Quote

