View Categories

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.

Inline demo #

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

BrandBrand TypeColorShow Bike Details
BrandBrand TypeColorShow 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.

Thank you Charles!