Coder Social home page Coder Social logo

Comments (3)

pupudu avatar pupudu commented on May 27, 2024

Hi @duyphaphach
Thanks for the kind words. Unfortunately window-table doesn't support variable row sizes at the moment.

Passing the Row prop should work however. I can have a look if you could produce a minimal example in a codesandbox.

Or else, you could consider React Fluid Table which is drop in replacement for this library. It has a similar API and supports variable row sizes out of the box.

Let me know your thoughts. Thank you.

from window-table.

duyphaphach avatar duyphaphach commented on May 27, 2024

Hi @pupudu, thank you for replying
I made a code sandbox to reproduce the issue with passing Row prop on HTML5Table here
Would you kindly have a look at it

you could consider React Fluid Table which is drop in replacement for this library. It has a similar API and supports variable row sizes out of the bo

I searched many related libraries (including React Fluid Table) and they are all using divs to build table so they don't fit my need.
I'm trying react-base-table's approach to dynamically resize row height: measure row on mounted and forceUpdate table

from window-table.

pupudu avatar pupudu commented on May 27, 2024

@duyphaphach
I gave a shot at adding support for variable sized rows to the library. Here you can find an example: https://codesandbox.io/s/window-table-column-components-dycqw?file=/src/App.js

Please note however that this is still experimental. I need to test a lot manually before I make this GA. Right now, the feature is available in version 1.0.0-alpha.3.

Let me know your thoughts. Thanks.

from window-table.

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.