Comments (3)
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.
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 div
s 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.
@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)
- Support accessibility? HOT 3
- Html5Table alignment when scrollbar appears HOT 13
- Mantain color of selected row HOT 1
- Expand rows HOT 1
- ClassNames to elements HOT 2
- why there is a duplication of table ? HOT 2
- is there a way to have dynamic row height? HOT 1
- Is there a recommended approach for implementing infinite scrolling? HOT 1
- forwardRef warning when supplying custom row component HOT 4
- Trouble with storybook HOT 1
- Unable to scroll to row? HOT 2
- Warning: Cannot update a component (`WindowTable`) while rendering a different component (`AutoSizer`). HOT 1
- Warning: Cannot update a component (`ForwardRef`) while rendering a different component (`AutoSizer`) HOT 5
- Double scrollbars with Bulma HOT 4
- Dynamic col widths HOT 1
- Cannot set dragImage because Row always rerenders
- Why is row="[object Object]" column="[object Object]" in all of the elements?
- Width not adjusted until screen size is changed HOT 1
- After mount, Html5Table rows start out sized correctly, but their height quickly grows too large HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from window-table.