koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)
https://www.tablefilter.com
MIT License
323 stars 95 forks source link

Sort Extension not working... #736

Closed alingham closed 4 years ago

alingham commented 4 years ago

Hi there,

I've tried getting sort working for my set of columns. They have multiple headers so I made my TableFilter from your Grouped headers example. However, the sort function did not work. So I've been hunting around, changing the code and everything.

In the end, I even set up a test page and direct copied your code from the Grouped headers example across.

See my Test Page Here

Am I missing something?

What else do I have to include on the server? At this stage on my server is literally the dist folder which I put in includes/tablefilter...

koalyptus commented 4 years ago

Hi @alingham, From what I see in your example, TF is not able to load the extensions js script needed for the sorting functionality, tf-0-8dba489b6aa8af63974b.js file is missing from includes/tablefilter folder: image

alingham commented 4 years ago

Oh awesome. Working now. Thanks So that wasn't entirely clear in the instructions for manual install... It just said to copy the tablefilter.js file across.... The other looked like a temporary file so I didn't bother with it...

Cheers for the help!