koalyptus / TableFilter

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

Disabling help text to improve performance #794

Open canaanmerchant opened 3 years ago

canaanmerchant commented 3 years ago

When the page loads the help text gets loaded and splashes on the page before the rest of the script loads. This appears to be an issue on pages with more data.

Simply commenting out the text in the tablefilter.js file also got rid of the actual filters needed to search among the data. There doesn't appear to be anyway to disable it with the configuration options so the only work around is to just have a few results per page so the page loads faster but my users want to see as much of the data on one page as possible.

It'd be nice to reconfigure or disable the help text.

Image of what it looks like before the page fully loads.

https://imgur.com/a/fh6nIGS

AdamPerlinski commented 3 years ago

Hey mate, I had similar problem, yet I found out you can use: help_instructions: false And it works. Cheers.

canaanmerchant commented 3 years ago

Thanks! Yes. Now it shows a "loading" text which helps. The overall script is the last thing to load which is annoying but it helps me focus on just that rather than the text.