---
title: "Master-detail tables"
description: It is possible to combine two data tables to create a master detail page. This gives you more flexibility than the standard popup for both, the master and the detail table. The master table adds a dynamic hyperlink for each…
url: "https://docs.legacy.wpdataaccess.com/docs/master-detail-tables/"
updated: "2025-11-26"
category: Legacy Tools / Tables / Advanced Features
---

# Master-detail tables

It is possible to combine two data tables to create a master detail page. This gives you more flexibility than the standard popup for both, the master and the detail table. The master table adds a dynamic hyperlink for each row to the detail page.

- [Response master-detail tables are now supported as well](/docs/responsive-master-detail-tables/)

## Inline demo

Click on a **Show Bike Details** hyperlink to see the detail page.

| Brand | Brand Type | Color | Show Bike Details |
| --- | --- | --- | --- |
| Brand | Brand Type | Color | Show Bike Details |

## Master table

Show only the most important columns and add a dynamic hyperlink to the detail page. Here is the dynamic hyperlink used for this demo:

**/data-publisher-detail-page-demo-detail/?wpda_search_column_bike_id=$$bike_id$$**

## Detail table

Make sure you select only one row in your dynamic hyperlink! And set the following options in your detail data table:

- Number Of Columns = 1
- Type = Expanded
- Show Icon = No
- Allow ordering? = Disabled

Advanced options

```
{
	"dom": "t",
	"pageLength": 1,
	"initComplete" :"function (oSettings){jQuery('#' + oSettings.sTableId + ' tbody').off();}"
}
```

## Credits

The idea to combine two separate data tables to create a master | detail page came from **Charles Godwin**. Charles is also the author of the [alternative WP Data Access search algorithm extension](https://github.com/CharlesGodwin/wpda-cwg-extensions).

Thank you Charles!
