greenelab / connectivity-search-frontend

Frontend code for connectivity search (formerly "Hetmech")
https://het.io/search
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

add table pagination and search #100

Closed vincerubinetti closed 5 years ago

vincerubinetti commented 5 years ago

image

vincerubinetti commented 5 years ago

@dongbohu if you feel like testing it out, let me know and I can put it on my website.

As for how it works, basically I have multiple copies of data (the input data for the table, whatever it may be) at various stages in the chain. The chain is: props.data -> sortedData -> filteredData -> paginatedData -> data (final convenient data object passed to children.