Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @lesbear,

    Is this in a Data Table? If yes, there are options you can add in the Advanced Settings to control how your table is displayed.

    This section outlines how you can use JavaScript functions in your table.

    Hope that helps! Let us know if you have more questions.

    Thread Starter lesbear

    (@lesbear)

    Hello,

    Thanks

    ok, can i ask how a code look like what make empty rows dont show up..

    Best Regards

    Thread Starter lesbear

    (@lesbear)

    Hello

    I found this code:

    {
    “responsive”: {
    “details”: {
    “renderer”: “function(api, rowIdx, columns) { let render_method = jQuery.fn.dataTable.Responsive.renderer.tableAll(); return render_method(api, rowIdx, columns.filter(column => column.hidden && column.data)); }”
    }
    }
    }

    And it works, thanks

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @lesbear,

    Thanks for the update!

    We’re glad you found the option that works.

    Feel free to create a new post or message us via Contact | WP Data Access if you have new questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Empty rows’ is closed to new replies.