Re: [flexcoders] Adding rows to a datagrid programmatically

2005-12-05 Thread Ralf Rottmann
Title: Re: [flexcoders] Adding rows to a datagrid programmatically Thanks Ted. I have created an Array of Objects which I assign to the dataProvider property of my DataGrid. If I have manually added Columns with names and headerTexts, do the Obj properties have to match ColumnNames

RE: [flexcoders] Adding rows to a datagrid programmatically

2005-12-05 Thread Theodore E Patrick
Title: Re: [flexcoders] Adding rows to a datagrid programmatically Ralf, The DataGrid maps column data to a dataProvider via the columnName property. You can also employ cellRenderers and labelFunctions to render MovieClips/components and alternate text into the Datagrid from

RE: [flexcoders] Adding rows to a datagrid programmatically

2005-12-05 Thread Theodore E Patrick
Title: Re: [flexcoders] Adding rows to a datagrid programmatically Correction: myDP = new flow.DataProvider() myDatagrid.dataProvider = myDT myDP.addItem( { name:Ted, age:33 } ) myDP.addItem( { name:Fred, age:20 } ) myDP.addItem( { name:Jean, age:25 } ) // set the filter

[flexcoders] Adding rows to a datagrid programmatically

2005-12-04 Thread Ralf Rottmann
I looked for tutorials on the labs site but could not find any. Can somebody send a code example of how to add a row to a datagrid programmatically? Best regards Ralf -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] Adding rows to a datagrid programmatically

2005-12-04 Thread JesterXL
ge - From: Ralf Rottmann To: flexcoders@yahoogroups.com Sent: Sunday, December 04, 2005 5:29 PM Subject: [flexcoders] Adding rows to a datagrid programmatically I looked for tutorials on the labs site but could not find any. Can somebody send a code example of how to add a row to a da

RE: [flexcoders] Adding rows to a datagrid programmatically

2005-12-04 Thread Theodore E Patrick
05, 2005 12:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding rows to a datagrid programmatically I looked for tutorials on the labs site but could not find any. Can somebody send a code example of how to add a row to a datagrid programmatically? Best regards Ralf