Spreadsheet-like input in html?

user1111929 picture user1111929 · Apr 26, 2013 · Viewed 12k times · Source

I'm writing a webpage (PHP/html/css) and I would like to let my users enter a lot of data, always consisting of the same information: day, hour, title, details, class. For this, I'd need a <table> with <input> fields, but with the additional feature that it looks like a spreadsheet, and that users can copy-paste (blocks of) rows and move rows around, as they will often need to enter a lot of similar data.

I feel like re-inventing the wheel if I'd have to write this from scratch. How would I best do this? Is there any standard package (e.g. in javascript) allowing such functionality?

Note: I don't need any spreadsheet functionality (formulae etc.), just the copy/paste/move on input. So a full spreadsheet package would probably be overkill and also clutter the interface.

Answer

Osiris picture Osiris · Apr 26, 2013

I've used Handsontable before - very easy-to-use.