vividvilla/csvtotable

hide table until making a search

Zachary24 opened this issue · 4 comments

I have a table with over 50,000 rows, and growing... Having so much makes the page take an extreme amount of time to load... Is there any way of not showing the table until a search is made, sorta like google/youtube etc. ?

hi, have you find solution?

Sadly, I haven't, I did go with a different tool instead which converts the CSV into an actual HTML table (instead of an HTML file with the table and other code) and built my own search box, but still I haven't found a way to hide the table until the search is made... I put the project off for a while, as I'm working on something else atm.. But I think instead I might convert the CSV to a PHP database and simply have the search box search from the database.

i want find a tool which can act as Excel's pivot table on Web page... that's why i notice this project

Currently the app generates single html file which can be served without any other dependencies. If you look at the HTML generated you can see that data also stored as a JSON data. The load time is because of the size browser has to parse to render it (like in your case with 50k + rows). Let me see if I can come up with something to solve this.