ixrock / mobx-react-table-grid Goto Github PK
View Code? Open in Web Editor NEWEasy to use table grid layout ReactJS-component powered by native CSS-grid
License: MIT License
Easy to use table grid layout ReactJS-component powered by native CSS-grid
License: MIT License
Current downsides: (tested in demo with 100k items)
React.memo
/ React.useCallback
)Initial work is done in: useVirtualization.tsx
Requirements:
Element
/Window
resize)<div>
-wrapping of each table row and use all in 1 css-grid (though wrapping with display: contents
would be probably better choice due handling events for the row (e.g. onClick
), that way table's heading columns will always consistent with content columns even when they have dynamic size, e.g. --grid-col-size-index: max-content
)@tanstack/react-virtual
as outdated dependencyRequirements:
table-state.ts
search
or other filters if any)Requirements:
peerDependencies
properly, final dist/index.js
should be quite smallcommon-js
npm package mobx-react-table-grid (current attempt to use package via npm link mobx-react-table-grid
has failed)e.g. use some adapter to window.localStorage
so page reload will restore previously adjusted table view.
And allow multi-sorting when e.g. clicked column with Shift
or Cmd
(or provide custom key)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.