master detail with TablePress
-
I’m wondering if it might be possible to identify a TablePress table row that a user clicks on, pass a parameter identifying that row back to WordPress (for instance, either a row id, or a column’s value that would be unique to a cell in the row), and use that parameter value to display filtered data from the selected row elsewhere.
My hope is that this would make possible a kind of master-detail functionality — with the original table serving as the master hitlist, and the cell values from the selected row then populating either a single-row, filtered instance of the table or, better yet, custom fields that each display a cell value for a column from the original table, but with better formatting.
Actually, it looks like your advice to a previous poster about 3 months ago (https://www.ads-software.com/support/topic/add-new-table-in-php/) may be relevant. That poster, “linkinall”, seems to have used your advice on the page he mentioned in his post (https://www.bi.com.ni/digitech/bolsa/) to create a cool pop-up that shows details from a row that the user clicks on.
Is jQuery the way to go here, and, if so, what’s the recipe? Are any extension plugins needed, or just the main TablePress plugin itself?
Thanks for your amazing work on TablePress. It’s no wonder you’re at 2 million downloads, and counting!
Jim
- The topic ‘master detail with TablePress’ is closed to new replies.