Filter relationship grid from selected item in another rel grid?

オフライン
If I have a form with a files grid and a comments grid, can I filter the comments programmatically to relate only to the selected file? Getting a method to fire on row selected is easy enough: var X= gridApplet.GetSelectedID(); Doing something relevant is a bit trickier.
Parents
  • Hello, This kind of filtering is difficult because both the grids use the same container, so when you switch to the second grid, you lose the context of what item(s) were selected in the first. As an alternative, you could write a custom action to be called from the File relationships that opens up a dialog containing the relevant comments to the selected file. This dialog could either be a standard SearchDialog or a custom Form you create that formats the comments in a more readable way. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, This kind of filtering is difficult because both the grids use the same container, so when you switch to the second grid, you lose the context of what item(s) were selected in the first. As an alternative, you could write a custom action to be called from the File relationships that opens up a dialog containing the relevant comments to the selected file. This dialog could either be a standard SearchDialog or a custom Form you create that formats the comments in a more readable way. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data