• I’m trying to implement wp_list_table to display data. I have pagination working, the searchbox returns a value, I have statuses at the top, checkboxes.

    The check all and check-shift-check stuff isn’t working.
    The screen options tab doesn’t open.
    The table goes thin on Responsive but the arrow doesn’t open anything.

    It seems that jquery or js isn’t firing. There are zero errors or warnings in the console.

    I can grab the source but the page is behind a couple passwords so I can’t share the link at the moment.

    Anyone have any ideas where I can begin to troubleshoot things?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    It does sound like the scripts are not running, though the single check boxes still should be checkable. But the actions to process the check event would fail if scripts are not running. Usually when scripts fail, obvious errors are logged in the console. Without errors logged, all I can imagine is the scripts are not loaded for the page in the first place. Please check your page source for links leading to JS and/or jQuery files. Ensure the paths shown for any such links are correct. It’s not hard to reference the proper file but the path be wrong.

    If the script files are loaded, the only other thing I can think of that does not generate errors is if the event listeners are not even installed for some reason. If the right files are loaded, it’s hard to imagine this being the case.

    It was a stupid error. I actually saved the source to an HTML page and ran it through validation, and there were unclosed divs – and the bottom of the page seemed light on code.

    I then looked and found a wp_die() before a return in an error checking routine I had been working on.

    Once I removed it, it works flawlessly and looks amazing.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP_LIST_TABLE not firing js features’ is closed to new replies.