Git Product home page Git Product logo

Comments (6)

irvelervel avatar irvelervel commented on August 25, 2024 3

Hello everyone. I made a wrapper some months ago for an older version of react-table (v6), which was more like a standard table library (pretty vast in functionality, especially in manual mode, and provided with a built-in UI), but for the new HospitalRun we was internally more oriented to go with the last version (v7) and I decided to scrap the older work. There are many reasons that pushed us for this decision: primarily the fact that react-table v7 it's headless, which means we can adapt it to every UI we are going to build (and maybe update in the future). It also now uses hooks, which may be intimidating but provide much faster performances. Thanks @ocBruno for the research and the ideas 😄 I had to delay this task but now I should have more time to work on it.

from components.

fox1t avatar fox1t commented on August 25, 2024

@irvelervel I think we can start discussing about tables. Let's find the best component lib to start from. Some of the features we need are server side pagination, filtering, sorting and probabily inline editing, as @jackcmeyer pointed out. We need to support advanced filters, so we can express all of the possibilities of https://github.com/fox1t/qs-to-mongo

from components.

ocBruno avatar ocBruno commented on August 25, 2024

I was going to start the boilerplate for this but wasn't sure if the discussion points had been decided upon so I tried doing a little research. I found two libraries that might be good solutions.

I thought we could use this react data grid library and handle the server side pagination ourselves,
https://adazzle.github.io/react-data-grid

.. or this react bootstrap table library which already has a remote option for server side fetching
https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/

I'm not sure they fit the needs of the table component but give me a heads up if so and I'll give this issue a go!

from components.

jackcmeyer avatar jackcmeyer commented on August 25, 2024

@ocBruno Any reason react-tables isn't in this list? I think this is what the team had in mind for the table component. All thought, if you think there is a better solution, we'd love to hear it!

from components.

ocBruno avatar ocBruno commented on August 25, 2024

@ocBruno Any reason react-tables isn't in this list? I think this is what the team had in mind for the table component. All thought, if you think there is a better solution, we'd love to hear it!

@jackcmeyer Thanks for the feedback! I'm not sure how I missed this one lol, it does seem to be the best solution!

I'm going to begin attempting to bootstrap this component with react tables and some of the basic necessary features.

I am still not too experienced with react and typescript but have been studying and I will post my progress in case anybody wants to give me some feedback or spot me on a mistake!

from components.

 avatar commented on August 25, 2024

🎉 This issue has been resolved in version 0.36.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.