ColumnFilterWidgets
ColumnFilterWidgets copied to clipboard
Populating the default selection from the ColumnFilterWidgets dropdown based on a variable
I am using the TablePress Wordpress plugin that relies on the Datatables plugin for jQuery.
I am looking for a way to put a dynamic value (string of YYYY-MM that I have stored in a variable) into the selection from the ColumnFilterWidgets dropdown.
As I am lacking JS coding skills myself, I am looking for some hints (or ready to copy/adapt code) to accomplish this.
Any help is much appreciated.