6 ms·
Nice. Try to use contentEditable for a better user experience, and auto align numbers to the right. That's it. Great job. * Here, contentEditable cells on clic
by Kilimanjaro 14y ago
Nice. Try to use contentEditable for a better user experience, and auto align numbers to the right. That's it. Great job.
* Here, contentEditable cells on click, arrows up/dn for rows, tab/shft+tab for columns:
http://georgenava.appspot.com/demo/spreadsheet.html http://georgenava.appspot.com/demo/spreadsheet.html
Coincidentally I was playing with that yesterday for a project, but yours is a hundred thousand times better.
- notb 14y agoI agree with contentEditable. The textarea seems to bug out sometimes on WebKit and renders incorrectly.
- underwater 14y agocontentEditable is a terrible hack and difficult to use when you only want a subset of features. You need to blacklist a bunch of events like pasting, keyboard formatting (e.g. ctrl+i, drag and drop and inserting new lines.
- jorangreef 14y agoWould be great if browsers could provide a "black and white" contentEditable that just lets the user edit the textContent in an HTML element.