Groups | Blog | Home
all groups > flash data integration > january 2005 >

flash data integration : Data Grid binding


BrianRKoch
1/25/2005 5:16:52 PM
I have two DataGrids. The first (DG1) holds information sent to it through a
DataSet (DS). The second DataGrid (DG2) holds information in the same format
as DG1. I would like to be able to use DG2 to update the information in DG1.
In other words, when I select a row in DG2, the selected row in DG1 will
update with that information. I know I have to bind the two grids through the
dataset, but I'm having problems figuring out precisely how, needless to say.
Then I'll tackle the whole RDBMSResolver thing to update the database. Any
suggestions?
Pilipo
1/28/2005 8:02:03 PM
Bind the connector array out to the DS dataProvider.
Bind the DS dataProvider in/out to DG1 dataProvider. Set DG1.editable = true.
Bind the DS selectedIndex in/out to DG1 selectedIndex.
Bind the DS dataProvider out to DG2 dataProvider.

This will have DG1 edit data in DS which will be updated in DG2 as it
changes...
AddThis Social Bookmark Button