TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Datagridxl2.js – Fast Excel-like data table library

301 pointsby robbiejsabout 3 years ago
I&#x27;m Robbert, the creator of DataGridXL.js. Last month I released version 2 which includes many new features.<p>DataGridXL is a free (and commercial) editable data table library written in ES6.<p>My goal is to develop the most performant &amp; user-friendly spreadsheet-like data table out there:<p>- It has zero dependencies. You don’t need any framework to use DataGridXL. - It is lightweight (~250kb) and easy to use. It does not even require messing with CSS. - It has its own Virtual DOM implementation to prevent DOM errors. - Developer friendly. Supports all modern web browsers<p>Please take a look at the performance demo (<a href="https:&#x2F;&#x2F;www.datagridxl.com&#x2F;demos&#x2F;one-million-cells" rel="nofollow">https:&#x2F;&#x2F;www.datagridxl.com&#x2F;demos&#x2F;one-million-cells</a>) to see the difference with other data grids out there. And let us know if you have any suggestions.<p>Please let me know if you have any suggestions or comments!

29 comments

wittjeffabout 3 years ago
Accessibility is a strong gating factor for some (including me). I don&#x27;t see it in the docs. The whole thing seems to be missing any ARIA (see <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;wai-aria-practices&#x2F;examples&#x2F;grid&#x2F;dataGrids.html" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;wai-aria-practices&#x2F;examples&#x2F;grid&#x2F;dataG...</a>) Let me know if you want help.
评论 #30922836 未加载
评论 #30921828 未加载
snirdabout 3 years ago
Congrats on the release.<p>For those looking for a FOSS alternative, I haven&#x27;t seen mentioned here yet Toast UI Grid - TUI-grid: <a href="https:&#x2F;&#x2F;ui.toast.com&#x2F;tui-grid" rel="nofollow">https:&#x2F;&#x2F;ui.toast.com&#x2F;tui-grid</a><p>I&#x27;ve been using it for over a year and it works perfectly.
bklyn11201about 3 years ago
The performance here is amazing. Well done!<p>I&#x27;m desperately searching for a way to replace old Handsontable (before they closed source), but the license here for DataGrid XL makes it impossible to easily bring into a large FOSS project.<p>Some ideas for licensing: dual license MIT and commercial. Feed advanced features and support into the commercial while keeping the MIT version fast, performant, extendable.
评论 #30920991 未加载
评论 #30929563 未加载
la64710about 3 years ago
Please point out wether it is free or commercial in your announcements :<p><a href="https:&#x2F;&#x2F;www.datagridxl.com&#x2F;buy" rel="nofollow">https:&#x2F;&#x2F;www.datagridxl.com&#x2F;buy</a>
评论 #30926783 未加载
a9h74jabout 3 years ago
I&#x27;m impressed by the lack of dependencies and single-file download.<p>One of my use-cases is for offline use, and <i>not</i> via a web app installation -- only assets in an ordinary filesystem directory. Mega-components in single js files are a good step towards that.
评论 #30921938 未加载
评论 #30922974 未加载
whalesaladabout 3 years ago
Been using AgGrid but looking for a replacement. I tried to load a CSV of 100k items here and got a &quot;RangeError: Maximum call stack size exceeded.&quot;<p><a href="https:&#x2F;&#x2F;www.datagridxl.com&#x2F;demos&#x2F;import-csv-data" rel="nofollow">https:&#x2F;&#x2F;www.datagridxl.com&#x2F;demos&#x2F;import-csv-data</a>
评论 #30927050 未加载
评论 #30921567 未加载
评论 #30922925 未加载
评论 #30921008 未加载
评论 #30925473 未加载
TIPSIOabout 3 years ago
Hey Robbert, just want to say congrats on this! This is excellent work and really thoughtful &#x2F; detailed.<p>I&#x27;ll definitely be using on a project soon. Really love the elegant docs and the API.
评论 #30923003 未加载
cyanydeezabout 3 years ago
I think you&#x27;re half way to why users stick to excel.<p>Without the calculator aspect it not really an excel clone.
评论 #30931033 未加载
bob1029about 3 years ago
This caught my eye. We are in the market for a high-quality gridview component that would allow for in-line edits. We also looked at CSV in&#x2F;out, but having something integrated <i>could</i> be better. The UX would have to be on-par with excel and this seems close.<p>My biggest question right now: What does integration of Datagridxl2 look like when operating with a Blazor Server app? Should I just expect some basic JS interop when building a wrapper for the component?
评论 #30923074 未加载
shafyyabout 3 years ago
Looks interesting. I&#x27;ve just been looking at a couple of alternatives to this. We&#x27;re adding a CSV import feature for our store finder, and the idea is to provide a spreadsheet-like interface where you can just copy and paste your location data instead of uploading a CSV where you need to deal with different delimiters and getting the column orders right etc.
评论 #30922430 未加载
评论 #30922115 未加载
george_ciobanuabout 3 years ago
Wonderful work! If you think your table is the best, as someone who is pondering buying it, you&#x27;d save me some time if you had a quick comparison matrix with your main competitors. It seems counterintuitive to provide that but most people will do the research anyway so you&#x27;re just saving them some time searching and cataloguing alternatives.
评论 #30923143 未加载
评论 #30924117 未加载
评论 #30924265 未加载
boundlessdreamzabout 3 years ago
How does it compare with <a href="https:&#x2F;&#x2F;grid.glideapps.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;grid.glideapps.com&#x2F;</a> ?
评论 #30920980 未加载
评论 #30920282 未加载
评论 #30922677 未加载
carreauabout 3 years ago
One million cell made me though of <a href="https:&#x2F;&#x2F;lumino.readthedocs.io&#x2F;en&#x2F;latest&#x2F;examples&#x2F;datagrid&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;lumino.readthedocs.io&#x2F;en&#x2F;latest&#x2F;examples&#x2F;datagrid&#x2F;in...</a> that has a &quot;trillion&quot; cell demo :-) All the best.
评论 #30921134 未加载
评论 #30921323 未加载
ramesh31about 3 years ago
&gt;You don’t need any framework to use DataGridXL. - It is lightweight (~250kb) and easy to use<p>I&#x27;m not so sure 250k qualifies as lightweight by any definition. That&#x27;s a pretty high target even for total bundle size. React, for example, is ~6k.
评论 #30931071 未加载
mclbdnabout 3 years ago
How long did it take you to build OP?<p>I love the simple design, just one thing: consider adding to #header .menu-btn:checked ~ .nav larger max-width and some margin to .buyMenuOption, since .buyMenuOption button gets covered by the .nav div on smaller screens: <a href="https:&#x2F;&#x2F;i.imgflip.com&#x2F;6c1c7a.jpg" rel="nofollow">https:&#x2F;&#x2F;i.imgflip.com&#x2F;6c1c7a.jpg</a>
keb_about 3 years ago
What&#x27;s a good FOSS alternative to this for non-commercial projects? I&#x27;d like to have a spreadsheet on my site for personal use.
评论 #30923001 未加载
评论 #30921914 未加载
评论 #30922347 未加载
评论 #30921821 未加载
ale42about 3 years ago
Very nice!<p>Just, I&#x27;m not sure that users who stick to Excel despite a web app do so just because of Excel&#x27;s interface... sometimes it is because it is much easier to work with files than with web sites. And sometimes the way to get to the web app is the thing destroying the UX (slowly responding servers, weird login processes, etc.)
评论 #30923204 未加载
ashitlerferadabout 3 years ago
I would like to invite you to share Datagridxl here: <a href="https:&#x2F;&#x2F;forums.haydenjames.io&#x2F;c&#x2F;showcase&#x2F;21" rel="nofollow">https:&#x2F;&#x2F;forums.haydenjames.io&#x2F;c&#x2F;showcase&#x2F;21</a> (will be suggested to subscribers)
meekaakuabout 3 years ago
This looks very nice! I am looking for a spreadsheet like component for a project I am working on. Had evaluated jspreadsheet before. Question I have is, how would one go about integrating formulas and references? The demo doesnt seem to support that.
评论 #30931012 未加载
mollerhojabout 3 years ago
I&#x27;m looking for a version of the is that supports pagination from a db backend so you don&#x27;t have to load all the data to the frontend at once. I need a read only spreadsheet with lots of data. Does anybody have any suggestions?
polskibusabout 3 years ago
Have you considered writing the component using canvas? The fastest full featured grids I encountered, incl. google sheets, are based on canvas.
评论 #30951154 未加载
xlpowerupabout 3 years ago
This look really good.<p>Can it be used as a front end with say C++&#x2F;C# etc to replace Excel COM interop?
评论 #30926473 未加载
jefc1111about 3 years ago
Can&#x27;t see any mention of multisort. Does it have multisort? Great look and feel!
评论 #30931059 未加载
joshxyzabout 3 years ago
How does it compare to sheetjs?
Existenceblinksabout 3 years ago
One feedback, undo is currently slow even if I just want to undo 5 cells of data.
评论 #30923211 未加载
elwellabout 3 years ago
Is there anywhere to view original (not minified) source?
d0100about 3 years ago
Is it as fast as the demo with custom cell renderers?
评论 #30923235 未加载
miki_tylerabout 3 years ago
Congrats, it looks amazing!<p>Does it support formulas?
评论 #30923257 未加载
joshuajomillerabout 3 years ago
-&quot;You&#x27;ve built a web app, but your users stick to Excel&quot; I feel that if your users are not using your web app, it&#x27;s not because they miss the (dated, not exactly intuitive) Excel interface. Seems to me like the wrong solution for the problem
评论 #30923287 未加载
评论 #30925634 未加载
评论 #30921617 未加载