• Resolved Vrishabh Jasani

    (@vrishabhsk)


    • When using pagination with a record of 11 rows and 11 columns, it works fine on logged-in and logged-out views both. But when i have 31 rows and 11 columns ( basically anything higher than 11 rows ), the jquery.dataTables.min.js throws an error which disables the pagination feature on the logged-in view but works fine on the logged-out view
    • The error generated is as follows :
      Uncaught TypeError: Cannot set properties of undefined (setting '_DT_CellIndex')
    • Now if i just remove the association from the script the pagination functionality works fine.
    • Another issue i came across is that after i set the no of rows i want per page, and i go to change it again it does not take effect
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter Vrishabh Jasani

    (@vrishabhsk)

    Hi Tobias,

    Thank you for the quick response.
    The page for which this issue occurs: https://languageplease.org/inclusivity-reader-directory/. But this happens only on logged-in view and not the logged-out view.

    Thanks.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! From what I can see, there’s some custom chunk of code for the DataTables library as well

    jQuery.fn.dataTable.ext.errMode = 'none';
    let irdTable = jQuery('#tablepress-2').DataTable({
    	"lengthChange": false,
    	"pageLength": 5,
    	"stripeClasses": [ '' ],
    ...

    in addition to that of TablePress. I assume that this might be involved here.

    Please note that I can not directly offer free support for such custom implementations of DataTables here in the forums.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pagination breaks on logged-in view’ is closed to new replies.