2 Datagrids sharing actions

4
Hi, i have two datagrids in a form (viewing different properties of the same object). Now i like the 'new' (or other) button of the first grid to invoke the 'edit' button of the second grid (which depends on the current selection of the second grid and popups a form with custom java actions). Is this possible? In the image, the 'new' button (selected) should perform the same action as clicking the 'view' button at the bottom of the image.
asked
2 answers
4

No, this is not possible. The shared/listen properties allow widgets in the same context to share selections (as constraints in the case of DataGrids or as selected item in the case of DataView).

There is, however, no mechanism to allow control buttons in one DataGrid to affect the behaviour of buttons in another.

answered
3

This is currently not possible. You can use the selection of another DataGrid as constraint for your DataGrid, but you cannot use the selection of another DataGrid as input for an invoke button.

answered