Skip to content

Filtering cascading table widgets #9033

Answered by andz-bb
Bitello asked this question in Help
Discussion options

You must be logged in to vote

hey @Bitello

I built an example of this for you:

In order to enable this sort of filtering with Budibase DB relationships, you need to create an extra column on each child table that holds the _id of the related parent row. This is done by adding using a static formula that returns the _id from the relationship column like so:

In this example my table A is Employees, my table B is Jobs and my table C is Subtasks. In the above screenshot this is showing a static formula column I set up in my Jobs table which returns the Employee _id for each job. I can then filter my columns using this value.

I'm using standard table blocks and then adding an action on row click to set the selected row _…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Bitello
Comment options

You must be logged in to vote
1 reply
@andz-bb
Comment options

Comment options

You must be logged in to vote
2 replies
@andz-bb
Comment options

@LucianHorrobin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants