Viewing 1 replies (of 1 total)
  • Plugin Author Meitar

    (@meitar)

    If you’re able to add JavaScript to your theme, you can do that. Any and all DataTables-enhanced tables can be modified by using the DataTables API.

    For instance, to disable paging, add a JavaScript to your theme that looks like this:

    jQuery(window).load(function () {
        jQuery('#igsv-MY_TABLE_KEY').dataTable().api().page.len(-1).draw();
    });

    Or, to have your DataTables-enhanced table automatically sort itself by the second column:

    jQuery(window).load(function () {
        jQuery(‘#igsv-MY_TABLE_KEY’).dataTable().api().order([1, 'desc']).draw();
    });

    (Replace MY_TABLE_KEY with the Google Spreadsheet document ID of your spreadsheet, of course.)

    Please refer to the DataTables API reference manual for more information about customizing DataTables-enhanced tables.

Viewing 1 replies (of 1 total)
  • The topic ‘DataTables without navigations numbers.’ is closed to new replies.