Relationships

Learn more about showing your data relationships

In this section we will cover how to display relationships in your web app, using grids. If you followed the example in the Relationships section then you will have seen our example involving a school, with students, teachers, classes and parking spots.

Using relationships in your web app is quite simple, the system will naturally handle them where they occur. There are two ways in which the system will handle relationships, some components will simply count the number of relations a particular row has and display this.

The more useful form of display is that of the display name option, here the system will take the value of the display column in the related table and display this instead. This is the standard functionality of the Budibase grid system, if a Grid is configured to display data that has relations then it will show the display column values for the related rows.