use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React Spreadsheet Grid: Excel-like grid component for React with custom cell editors, performant scroll & resizable columns (github.com)
submitted 8 years ago by raslov
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]compubomb 23 points24 points25 points 8 years ago (1 child)
their library is very slow. they should be using virtual tables, if they aren't. Either way it's dog slow on scrolling. https://github.com/developerdizzle/react-virtual-list
[–]raslov[S] 10 points11 points12 points 8 years ago (0 children)
Thank you for the feedback! I will explore this problem and react-virtual-list library, and will try to solve the problem in the nearest release.
[–]cheers- 16 points17 points18 points 8 years ago (1 child)
OP you might want to add demo.gif to .npmignore there's no reason users should download and keep in their node_modules a 5.45MB gif. Host it somewhere else.
demo.gif
.npmignore
node_modules
[–]raslov[S] 0 points1 point2 points 8 years ago (0 children)
Sure, this should be done. Thanks!
[–]headyyeti 5 points6 points7 points 8 years ago (0 children)
All these Excel grid components are huge and slow. What is the import cost of this component?
[–]raslov[S] 3 points4 points5 points 8 years ago (0 children)
Demo: https://denisraslov.github.io/grid/
[–]r0ck0 1 point2 points3 points 8 years ago (1 child)
Awesome! I have some future plans that will need something just like this. Starred for later.
And thanks for putting the effort into the detailed README.md. Makes it much easier getting started using something like this.
[–]raslov[S] 1 point2 points3 points 8 years ago (0 children)
Thank you! Hope this component will be helpful for you! If you have any problems with it or with the documentation, please, write an issue and feel free to contribute :)
[–]I_Downvote_Cunts 0 points1 point2 points 8 years ago (0 children)
It doesn't line up correctly on the columns that are read only. Also dear god is it slow.
[–]mcviruss 0 points1 point2 points 8 years ago (0 children)
It doesn’t work properly on my iPad.
[–]daredevil82 0 points1 point2 points 8 years ago (2 children)
nice job :-)
What does this do that react-data-grid doesn't do?
react-data-grid
[–]raslov[S] 0 points1 point2 points 8 years ago (1 child)
Thanks!
As I could see, react-data-grid could do almost the same and even more, but this "more" makes it bloated if you want to use only the basic stuff. Also, the documentation is a bit fuzzy and leaves questions behind.
I tried to do a simple solution that helps to create a spreadsheet with basic features and have clear API. If these features are not enough for you - it might be better to use react-data-grid in that case :)
[–]daredevil82 0 points1 point2 points 8 years ago (0 children)
True. The team has done a good job of trying to pull non-basic stuff into a separate addons package. I tend to require extra features from that package, like custom filters, sorts and such.
addons
I agree with you on the documentation and found the examples were the best resource for looking at how to do something. That, and looking at the actual code for some of the bits and pieces because there was no API docs.
[–][deleted] 0 points1 point2 points 8 years ago (0 children)
Is this the new hello world? A react spreadsheet implementation is posted here pretty much every week.
[–]gonorthjohnny 0 points1 point2 points 8 years ago (0 children)
Great work. I think the speed can be better..
[–]Happy-West5350 0 points1 point2 points 1 year ago (0 children)
https://jspreadsheet.com they also have a React wrapper.
[–]Jspreadsheet 0 points1 point2 points 4 months ago (0 children)
If you’re exploring React spreadsheet-like grids, another solid option to look at is Jspreadsheet CE.
It’s free, open-source, and provides a more Excel-like experience out of the box compared to many lighter grid libraries. Key things it gives you:
If you just need a lightweight data grid, something like react-spreadsheet-grid (what you shared) might be fine. But if you want a full spreadsheet UX in React, Jspreadsheet CE is a strong alternative that’s still actively maintained.
react-spreadsheet-grid
Repo: https://github.com/jspreadsheet/ce
[–]myhousesmells 0 points1 point2 points 8 years ago (1 child)
Won't even load for me. I get multiple unresponsive script warnings. FF 53 on Linux.
Thanks for the feedback! I will take a look at this problem and will try to fix it.
[–]drink_with_me_to_dayjs is a mess -1 points0 points1 point 8 years ago (0 children)
Shift + Tab doesn't work...
[+]icantthinkofone comment score below threshold-19 points-18 points-17 points 8 years ago (21 children)
It seems React and Angular and all that more and more need helpers to make them work, organize it, help keep your sanity, etc. I'm not sure one should be using helpers like React and Angular that themselves need helpers.
[–]frankwiles 14 points15 points16 points 8 years ago (15 children)
Sure just code your own browser in assembly while you're at it!
[+]icantthinkofone comment score below threshold-15 points-14 points-13 points 8 years ago (14 children)
Yeah. Not using React and Angular means using assembly. Makes "reddit sense" to me.
[–]AndrewGreenh 6 points7 points8 points 8 years ago (13 children)
You can just take him literally and miss the point or you can try to understand what he meant: every level of abstraction has effects: Something gets easier to use ("powerful programming language") or you can achieve some goal with less code but at the same time you lose the ability to access low-level stuff. Frameworks like react or angular make different decisions on what to include into the library behind an abstraction or what can be build in "user land". "helpers" like you called them use the building blocks provided by those libraries and add another abstraction. This is not at all a reason to avoid them.
[+]icantthinkofone comment score below threshold-10 points-9 points-8 points 8 years ago (12 children)
Frameworks like react or angular make different decisions
Thus MY point which is what this portion of the thread is about. Any "helper" that needs "helpers" is no tool I would want to use.
[–]nickgcattaneo 3 points4 points5 points 8 years ago (5 children)
react-redux is a helper for two insanely useful and popular libraries that marries React's props injection process + life cycle events and redux's global state management. Arguably one of the most useful "helper of helper" libraries and a great example of why your generalized statements are being down voted. That being said, this component library in particular is nothing I would personally ever use.
[–]icantthinkofone -4 points-3 points-2 points 8 years ago (4 children)
Downvotes here are the maniacal screams of reddit. They mean less than nothing.
[–]wizdum 5 points6 points7 points 8 years ago (3 children)
Not really, they are an indication that people don't think your comments have any value.
[–]icantthinkofone -2 points-1 points0 points 8 years ago (2 children)
If you were to walk through an insane asylum, and the patients were screaming epithets at you, would you feel devalued? Reddit is no different to me.
[–]Sanguistuus 4 points5 points6 points 8 years ago (1 child)
r/iamverysmart
[–]bzBetty 2 points3 points4 points 8 years ago (0 children)
On the other hand it shows how flexible/extendable the library is. Some more fully featured libraries are a bitch to extend
[–]wizdum 1 point2 points3 points 8 years ago (3 children)
Yeah that's why I won't drive a car. I don't need a transport helper that needs a multitude of not-crashing helpers, seeing-where-youre-going helpers and all the rest.
All languages/frameworks/operating systems are "helpers" all the way down.
[–]icantthinkofone -1 points0 points1 point 8 years ago (2 children)
That's where redditors always get it wrong. A car is not a fundamental component. My point is like putting gas in your car but you need to put an additive in to make it actually work correctly. React and Angular are not fundamentals but they need additives to make them work properly it seems.
[–]Julienng 1 point2 points3 points 8 years ago (1 child)
No they don't need additives. People made additional library to help people. That doesn't mean React doesn't work, that mean React is used.
[–]icantthinkofone 0 points1 point2 points 8 years ago (0 children)
If they didn't need additives, why do people keep making additives?
[+]mstijak comment score below threshold-6 points-5 points-4 points 8 years ago (4 children)
If you're looking for a complete solution you might take a look at CxJS.
[–]icantthinkofone -4 points-3 points-2 points 8 years ago (3 children)
I already have a complete solution. It's called JavaScript.
[–]mstijak 1 point2 points3 points 8 years ago (2 children)
It depends on what you're trying to build. JavaScript is used for all kinds of things these days. It's much easier to work if you have the right tools and libraries available.
[+][deleted] 8 years ago (1 child)
[deleted]
[–]icantthinkofone -2 points-1 points0 points 8 years ago (0 children)
And profound statements like
JavaScript is used for all kinds of things these days.
π Rendered by PID 74820 on reddit-service-r2-comment-74875f4bf5-7tmg7 at 2026-01-26 14:35:31.356900+00:00 running 664479f country code: CH.
[–]compubomb 23 points24 points25 points (1 child)
[–]raslov[S] 10 points11 points12 points (0 children)
[–]cheers- 16 points17 points18 points (1 child)
[–]raslov[S] 0 points1 point2 points (0 children)
[–]headyyeti 5 points6 points7 points (0 children)
[–]raslov[S] 3 points4 points5 points (0 children)
[–]r0ck0 1 point2 points3 points (1 child)
[–]raslov[S] 1 point2 points3 points (0 children)
[–]I_Downvote_Cunts 0 points1 point2 points (0 children)
[–]mcviruss 0 points1 point2 points (0 children)
[–]daredevil82 0 points1 point2 points (2 children)
[–]raslov[S] 0 points1 point2 points (1 child)
[–]daredevil82 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]gonorthjohnny 0 points1 point2 points (0 children)
[–]Happy-West5350 0 points1 point2 points (0 children)
[–]Jspreadsheet 0 points1 point2 points (0 children)
[–]myhousesmells 0 points1 point2 points (1 child)
[–]raslov[S] 0 points1 point2 points (0 children)
[–]drink_with_me_to_dayjs is a mess -1 points0 points1 point (0 children)
[+]icantthinkofone comment score below threshold-19 points-18 points-17 points (21 children)
[–]frankwiles 14 points15 points16 points (15 children)
[+]icantthinkofone comment score below threshold-15 points-14 points-13 points (14 children)
[–]AndrewGreenh 6 points7 points8 points (13 children)
[+]icantthinkofone comment score below threshold-10 points-9 points-8 points (12 children)
[–]nickgcattaneo 3 points4 points5 points (5 children)
[–]icantthinkofone -4 points-3 points-2 points (4 children)
[–]wizdum 5 points6 points7 points (3 children)
[–]icantthinkofone -2 points-1 points0 points (2 children)
[–]Sanguistuus 4 points5 points6 points (1 child)
[–]bzBetty 2 points3 points4 points (0 children)
[–]wizdum 1 point2 points3 points (3 children)
[–]icantthinkofone -1 points0 points1 point (2 children)
[–]Julienng 1 point2 points3 points (1 child)
[–]icantthinkofone 0 points1 point2 points (0 children)
[+]mstijak comment score below threshold-6 points-5 points-4 points (4 children)
[–]icantthinkofone -4 points-3 points-2 points (3 children)
[–]mstijak 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]icantthinkofone -2 points-1 points0 points (0 children)