Is there a way to inject additional columns to place custom information not retrieve from the data table / sql query, such as buttons (html)? These buttons would open a URL in a separate window. Is there a way to do this without the need for custom JS?
Is there a way to inject additional columns to place custom information not retrieve from the data table / sql query, such as buttons (html)? These buttons would open a URL in a separate window. Is there a way to do this without the need for custom JS?
Hello Daryl
I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.
SQL query-based tables are tables linked to an existing data source - the database table(s), so you can't add a new column through the plugin.
The only way to include additional columns would be to add them in the database - what you're trying to avoid.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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