As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Hello,
Could someone give me some tips on how to retrieve a row by clicking on it, parsing a column value from it?
I added a new column to one of my tables as
'<button type="button" onclick="trackItem()" class="track-button">+</button>' TrackItem,
I tried adding the following function to /assets/js/wpdatatables/wpdatatables.js but I was not able to get any values.
var clickEvent = function (e) {
function trackItem() {
var row = $(tableDescription.selector + ' tr.selected').get(0);
var data = wpDataTables[tableDescription.tableId].fnGetData(row);
data = data[0];
console.log('inside function: addItem' + data);
}
...
Any tips?
Hello Leo
Thank you for your purchase.
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features and it has to be done as custom work, which is not included in the provided support for the plugin, so I can't help you with that.
If I had an example on this, I would gladly share it with you, but unfortunately I don't. You can take a look at our hooks and filters and see if there's something there that can help you out.
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