开发者

Communication between two data grids

开发者 https://www.devze.com 2023-04-08 00:08 出处:网络
I am trying to make connection between two datagrid in two separate windows. Until now, I am able to crea开发者_如何转开发te a datagrid in one FLEX browser window but got stuck furthur.

I am trying to make connection between two datagrid in two separate windows.

Until now, I am able to crea开发者_如何转开发te a datagrid in one FLEX browser window but got stuck furthur.

On some click event in one of 1st datagrid row-column field value, (i.e itemRenderer in form of button), I want to open a new window (using some LocalConnection or ExternalInterface.call) to open another window with the part of the original data grid.

Is it possible to do so ? Which method should I use - LocalConnection or ExternalInterface.call ?

Please help.

Thanks.


On some click event use navigateToURL() to launch your second browser window with your second application that contains the second DataGrid.

Once the two instances are up you can communicate between them using LocalConnection.

0

精彩评论

暂无评论...
验证码 换一张
取 消