Holiday Notice – Support Unavailable on April 18 and April 21
We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!
In the meantime, if you need any help, feel free to:
-
Use the support widget in the bottom right corner on our websites (Amelia and wpDataTables) — our latest AI-powered assistant is there 24/7 to help with basic and intermediate questions,
-
Browse our detailed documentation (Amelia, wpDataTables)
-
Explore helpful articles,
-
Or check out our YouTube channels for video guides!
Amelia YouTube Channel
wpDataTables YouTube Channel
Thank you for your understanding, and we wish you a wonderful holiday weekend!
I'm trying to capture row click event but I don't find anything in documentation. Would you please show me an example of that event?
The reason what i need this event is to show in a modal window the information of all the colums of the row clicked, seen and unseen colums, and I don't find anything of that functionality in the documentation. Would you tell me if that functionality exist and where to find out?
Thanks a lot.
Hi luisjordan,
Thank you for your purchase.
You can find row click event in the file
/wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js around line 1141
We can see that you open two same tickets so please close one.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi Milan.
Thanks for your answer but I think I didn't explain our needs quite well.
We need on a row click get all the data from the clicked row, seen and unseen columns. It's possible? How? Could you give us an example please?
We try the code below from DataTables jQuery plugin but isn't working.
var table = wpDataTables.table_1;
wpDataTables.table_1.on('select',function(e,dt,type,indexes){
if(type==='row'){
var data = table.rows(indexes).data().pluck('id');
}
});
¿How can I get the columns value of a row when is clicked?
Thanks a lot
Hi luisjordan,
You can take a look at the example of that in file wpdatatables.js on line #957:
data variable will be an array with values of all row columns values (visible and hidden).
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables