header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ramakrishna
Points:0
Posts:0

7/21/2010 11:42:11 PM

Title: datagrid


Hi All,

how to add the data to datagrid at runtime, deleting also how to do it?



1
Veer
Points: 480
Posts:0
7/22/2010 1:49:11 AM



Hi Ram,

using dataProvider property of datagrid you can add data.
to delete data simply delete item form the dataProvider it also delete data from datagrid.
make sure dataProvider is bindable, dataProvider can be array, arrayCollcetion, xmlList.

refer below links....
http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
http://blog.flexexamples.com/2008/05/11/creating-an-editable-datagrid-control-in-flex/

Regards,
Virat Patel

2
Andrid
Points: 720
Posts:0
7/22/2010 6:13:27 AM



simply remove item from the dataprovider at the index required
// to remove 2nd row pass the insdex as 1
myDataGridDataprovider.removeItemAt(1)


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions