I see that you have the addOnDrawCallback() front-end js callback, but that runs every time the table is re-drawn, and it doesn't run on first table load. What is the callback for when the table is first loaded or initialized? Basically, how do I run a snippet of javascript as soon as the table is shown on the page? That is what I'm ultimately after. Thanks!
Is it possible to have jQuery that runs during page load and then ALSO during the callback? I'd like to run code for both cases, but don't want to have to duplicate the jQuery statements.
I see that you have the addOnDrawCallback() front-end js callback, but that runs every time the table is re-drawn, and it doesn't run on first table load. What is the callback for when the table is first loaded or initialized? Basically, how do I run a snippet of javascript as soon as the table is shown on the page? That is what I'm ultimately after. Thanks!
Hi Brian,
Thank you for your purchase.
You can use jQuery load function which executes when complete page is fully loaded, including all frames, objects and images
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
Thanks!
Hi Brian,
You are welcome.
If you have any more issues or questions feel free to open a new ticket, we will gladly help.
We'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. Thanks!
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
Is it possible to have jQuery that runs during page load and then ALSO during the callback? I'd like to run code for both cases, but don't want to have to duplicate the jQuery statements.