Live data from Hacker News

Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

github.com

81–90 of 108 posts

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#84
post #78

The canvas fonts are fuzzy? Stock OSX and Chrome, 4k display @ 3200 scaled edit: https://github.com/myliang/x-spreadsheet/issues/5

By nature of , it uses grayscale antialiasing of text Here (MS Edge, Windows, High-DPI screen): http://cloud.sciter.com/index.php/s/fcTbout1oQqwIJg You see how different text rendering in normal DOM rendering (text "Normal") and the text inside canvas. Grayscale AA text looks blurred. Grayscale AA works only for relatively large font sizes, for standard UI text sizes it is highly non-desirable.

Although canvas does do grayscale anti-aliasing, this particular app is blurry because the canvas is being rendered at a lower resolution than your screen. To make it crisp, the author would have to set the canvas' javascript canvas.width property to be twice the canvas' css canvas.style.width property.

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#85

Awesome job so far! This is obviously a monumental undertaking, especially since the quality of spreadsheet software seems mostly correlated with volume of features. This project looks like a great start, with an extensible architecture that will allow the project to eventually attain that "volume of features." I think my favorite line of code is this one, from package.json: > "dependencies": {} :)

thx

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#86
This is amazing! I'm doing a deep dive into the code now to see how the extensibility is done.

Some folks here might be interested in Stencila Sheets too (https://stenci.la/blog/2017-08-features-stencila-sheets/, https://stenci.la/blog/introducing-sheets/), https://github.com/stencila/stencila/tree/develop/src/sheet. It's a web-based spreadsheets where cells can execute other programming languages, such as R or Python.

Disclaimer: I know the authors. Even so, it's very interesting tech.

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#88
post #73

alt: https://ethercalc.net/ https://github.com/audreyt/ethercalc https://github.com/audreyt/ethercalc/blob/master/LICENSE.txt cpal http://livescript.net/ ^CoffeeScript

UI formulas - to build web apps http://sheet.cellmaster.com.au/examples

I added these :)

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#89

Earlier quoted context omitted.

That's true, but I hope people would hesitate before using this for spreadsheets that don't require virtual rendering.

Good luck finding a full-featured browser grid product that doesn't do virtual rendering. They all have to, even Google Sheets.

I remember in a little personal experiment I did you could just set content-editable:true on a table and then add a couple buttons with some js to do things like add rows etc. and you got a decent mini spreadsheet-like UI. Formulas wouldn't work without something special obviously but I remember being surprised with how much was implemented in the browser.

One very neat thing about this approach is that read-only access works without javascript

Re: Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web

#90
post #45

Earlier quoted context omitted.

i was about to say the same thing... to anyone else wondering: you can browse the available function with the button to the right. ( SUM, AVERAGE, MIN, MAX and CONCAT )

Wonder how much demand there will be for SUMPRODUCT

For anyone else wondering about that formula.

https://exceljet.net/excel-functions/excel-sumproduct-functi...

All I can say is, I am grateful I don’t have to deal with other people’s spreadsheets.

My jam is programming languages and SQL, not obscure formulas and weird constructs made from surprising ways of using them.

Post reply on HN