I have an existing wpDataTables table with 203 records in it and about 8 columns. We do not want to output the results of the table using the traditional table format. Ideally we would want something like so
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features. You can take a look at theSimple Table type, which would allow you to style each cell, row, and/or column differently, but that's pretty much it.
SELECT concat('Item id: ','<br/>','Item Number: ','<br/>','Item description: ') as "Labels", (<= these are textstrings) concat(`Item_ID`,'<br/>',`Item_Name`,'<br/>',`Item_description`)) as "Values" (<= these are Tablevalues) FROM TblItems
And if you don't want the labels...
SELECT concat(`Item_ID`,'<br/>',`Item_Name`,'<br/>',`Item_description`)) as "Values" FROM TblItems
I have an existing wpDataTables table with 203 records in it and about 8 columns. We do not want to output the results of the table using the traditional table format. Ideally we would want something like so
[foreach row]
<div>
<h3>[column1]</h3>
<h4>[column2]</h4>
<p>[column4]</p>
</div>
[/foreach]
Is there a way to accomplish this?
Thank you!!!!
Hi, Adam
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.
You can take a look at the Simple Table type, which would allow you to style each cell, row, and/or column differently, but that's pretty much it.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Adam,
I had the same problem. This is my workaround;
SELECT
concat('Item id: ','<br/>','Item Number: ','<br/>','Item description: ') as "Labels", (<= these are textstrings)
concat(`Item_ID`,'<br/>',`Item_Name`,'<br/>',`Item_description`)) as "Values" (<= these are Tablevalues)
FROM TblItems
And if you don't want the labels...
SELECT concat(`Item_ID`,'<br/>',`Item_Name`,'<br/>',`Item_description`)) as "Values" FROM TblItems
I hope, this might help you!
Tim
Hi, Tim
- Thank you very much for your workaround solution, awesome!
We truly appreciate it, and hopefully, users that come across this ticket might use this if it suits the needs of their project.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables