I'm adding custom functionality to enable users to create a 'favorites' table from a Master-Detail form and from a subset of rows on a wpdatatable. I intend to do this by adding a checkbox on the Detail form and in front of every row which users can manually check off. Users will then click a button to add their selected item(s) to a favorites table. I know programming assistance is beyond the scope of support but any general suggestions to implement this functionality would be greatly appreciated
It looks like there are couple of Datatables.net extensions which can help with this functionality ('Select' and 'Buttons'). Do you know if it is possible to use these Datatables.net extensions with wpdatatables?
You could use these extension, but you would need to adapt them for the wpdatatables object.
The front-end (JS) part of wpDataTables plays a significant role in the plugin’s functionality. Generally, front-end rendering is done by the DataTables jQuery plugin, but wpDataTables introduces some callbacks of its own.
All wpDataTables existing on the page are reflected in the global JavaScript object called ‘wpDataTables‘. If you check this variable in the JS developer console you will see the wpDataTables as properties of this object:
Please note that using wpDataTable callbacks requires certain level of programming skills and included support refers only to advice.
Hello,
Thank you for an amazing plug-in.
I'm adding custom functionality to enable users to create a 'favorites' table from a Master-Detail form and from a subset of rows on a wpdatatable. I intend to do this by adding a checkbox on the Detail form and in front of every row which users can manually check off. Users will then click a button to add their selected item(s) to a favorites table. I know programming assistance is beyond the scope of support but any general suggestions to implement this functionality would be greatly appreciated
It looks like there are couple of Datatables.net extensions which can help with this functionality ('Select' and 'Buttons'). Do you know if it is possible to use these Datatables.net extensions with wpdatatables?
Thanks,
Mike
Hello Mike
Thank you for your kind words.
You could use these extension, but you would need to adapt them for the wpdatatables object.
The front-end (JS) part of wpDataTables plays a significant role in the plugin’s functionality. Generally, front-end rendering is done by the DataTables jQuery plugin, but wpDataTables introduces some callbacks of its own.
All wpDataTables existing on the page are reflected in the global JavaScript object called ‘wpDataTables‘. If you check this variable in the JS developer console you will see the wpDataTables as properties of this object:
Please note that using wpDataTable callbacks requires certain level of programming skills and included support refers only to advice.
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