Skip to content

I would like to click on a table row and have a second table display the related data. #11542

Answered by pmankow
pmankow asked this question in Help
Discussion options

You must be logged in to vote

@ConorWebb96 I have figured this out.

  1. I created two data providers with tables. Both data provider's data is Part data.

  2. In the table under the first data provider (Data Provider 1); actions:
    a. Fetch Row; Table: Part Data 1, Row ID: {{ Clicked row._id }}
    b. Update State; Value: {{ State.Part_id }}

  3. In the second data provider I filtered the Part data to equal {{ State.Part_id }}.

  4. Under the second data provider (Data Provider 2) I then added a repeater with the conditions:
    a. Hide Component if {{ State.Part_id }} is empty. This prevents the screen from becoming a mess of empty tables.

  5. Under the repeater I then added a third data provider: AML data.
    a. This data provider's data is …

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@pmankow
Comment options

@ConorWebb96
Comment options

@pmankow
Comment options

@pmankow
Comment options

Answer selected by pmankow
@ConorWebb96
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-relationships Relating to table relationships bb-filtering Filtering data
2 participants