Comments (4)
@Etregoning The closest grid layout I could find is "fitDataFill". It will not show the background color when you resize columns.
Could you try it again here?
https://codesandbox.io/s/oxmj02v696
from react-tabulator.
Well, that definitely gives a better look, thanks... but I still think if it's possible to dynamically resize the last column, that would look a lot better :D
from react-tabulator.
Hey @Etregoning
There are quite a range of options for configuring your column layout
Have a look at the fitColumns layout mode in the Layout Documentation
You can use the widthGrow and widthShrink properties to determine the amount allocated to each column.
You can also use a combination of fixed width columns and variable width columns to achieve the look you are after, but you are correct, at the moment there is no feature to allow tables to be resizable and maintain a total width of 100%. if you feel that would be useful please raise an issue on the Tabulator Repo
I hope that helps,
Cheers
Oli :)
from react-tabulator.
Thanks for replying @olifolkerd I was going to point him to Tabulator or file a bug there myself.
Like @Etregoning , I tried different layouts: fitDataFill, firColumns & widthGrow and widthShrink but the last column still moves when resizing other columns. Ultimately (I think) @Etregoning wants the last column to take the remaining space.
This is an example: (using another grid) - http://jsfiddle.net/9js6z61g/
I'm closing this one & filing it in Tabulator. Thanks.
from react-tabulator.
Related Issues (20)
- React Tabulator failing to return valid date from ISO 8601 timestamp
- targets.row.findCell is not a function HOT 9
- Bug: Table does not reflect changed options HOT 1
- Managed data causes table re-render which breaks edit experience
- Update to Latest Tabulator Version to Fix Major Bug
- Question: rowClick throws error in react functional component HOT 4
- Responsive Collapse Not Working on latest version but works on version 0.15.0 HOT 1
- How to get data of entire table in react tabulator?
- Movable columns buggy on nested columns
- tabulator_tables_1.TabulatorFull is not a constructor
- bug: Issue on scrolling horizontally with the first column freeze and enable horizontal virtual dom HOT 2
- Is this repo updated frequently? HOT 1
- Add value "list" to Editor @types
- Bug: function reactFormatter uses ReactDOM.render HOT 6
- Can we expect update for the repo HOT 1
- movableRowsReceiver not working for me
- Bug: event target lookup error and column not update
- Columns cannot be resized in 0.19.0 HOT 3
- update to tabulator 5.6
- headerFilter select (list) doesn't work (Editable Table Example)
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 react-tabulator.