Datatables shortcodes
-
Hi there; fantastic work, and thanks so much for the plugin. I’m afraid I have a daft question about using Datatables options with shortcodes.
I’m trying to disable the option to sort column 1; the Datatables reference gives …
$(‘#example’).dataTable( {
“columnDefs”: [
{ “orderable”: false, “targets”: 0 }
]
} );… which I’ve tried to do as a shortcode as follows, which doesn’t work …
… datatables_columnDefs=’%5B “orderable”: false, “targets”: 0 %5D’ …
I’m doing something stupid, aren’t I?
https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Datatables shortcodes’ is closed to new replies.