Live data from Hacker News

A spreadsheet in fewer than 30 lines of JavaScript, no library used

jsfiddle.net

1–10 of 274 posts

Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used

#3

My text disappears after I type it in and move on. And why do you call a table an "excel-like" app? Can it so =SUM(); can it do search and replace or the over 9000 other features of excel? No... it's a table, with a editor.

try "=1+2"

Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used

#4

My text disappears after I type it in and move on. And why do you call a table an "excel-like" app? Can it so =SUM(); can it do search and replace or the over 9000 other features of excel? No... it's a table, with a editor.

try "=1+2"

doesn't seem to work - it remains as text, instead of giving 3.

Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used

#5

My text disappears after I type it in and move on. And why do you call a table an "excel-like" app? Can it so =SUM(); can it do search and replace or the over 9000 other features of excel? No... it's a table, with a editor.

It's 30 lines of javascript, what do you expect? This is a cool little project and the negativity is really unnecessary. The author could definitely have chosen a better description, but that is no reason to dismiss it outright.

Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used

#8

My text disappears after I type it in and move on. And why do you call a table an "excel-like" app? Can it so =SUM(); can it do search and replace or the over 9000 other features of excel? No... it's a table, with a editor.

=A1+A2 works for me.

Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used

#9

My text disappears after I type it in and move on. And why do you call a table an "excel-like" app? Can it so =SUM(); can it do search and replace or the over 9000 other features of excel? No... it's a table, with a editor.

Because it simulates a subset of excel functionality, namely the ability to reference values in other cells and automatic re-computation of changed and dependent values.
Post reply on HN