• Resolved BenM

    (@alysko)


    Hi,

    I have an error on your JS library :

    TypeError: r is undefined
    Source : http://my-intranet-website.null/wp-content/plugins/tablepress/js/jquery.datatables.min.js?ver=1.4
    Line 27

    This error occurs even if I deactivate all the other JS libraries (except jquery of course).

    https://wordpress.org/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter BenM

    (@alysko)

    And I have no JS error with the last version of jquery.datatables.min.js (1.10.2, from DataTables website). Unfortunatly, it doesn’t work fine because of changing in naming convention in 1.10.

    Thread Starter BenM

    (@alysko)

    The un-minified JS give me :

    TypeError: nCell is undefined
    http://my-intranet.null/wp-content/plugins/tablepress/js/jquery.datatables.min.js?ver=1.4
    Line 643

    which is :

    /* Classes */
    if ( bClass ) {
     nCell.className += ' '+oCol.sClass;
    }

    Thread Starter BenM

    (@alysko)

    Ok, incompatibility with rowspan…

    Thread Starter BenM

    (@alysko)

    not really resolved.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble, as well as for the late answer. As I was on vacation, I didn’t have a chance to reply earlier.

    Yes, the reason for this that the DataTables JS library does not work in tables that use rowspan or colspan, unfortunately.
    You will have to decide what’s more important, either combined cells, or the features of DataTables. You can not have both, unfortunately.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘TypeError: r is undefined’ is closed to new replies.