A
A
Anton2021-03-24 14:57:35
JavaScript
Anton, 2021-03-24 14:57:35

What is the best way to implement a spreadsheet?

What is the best way to make a table that should be edited by double clicking. The data input format is a single line (input with text type).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-03-24
@Miron9900

htmlbook.ru/html/attr/contenteditable
Catch a double click
And then catch the change events and write them down somewhere.
And here is the finished library
https://cukikt0302.github.io/vue-simple-table/inde...
for react
https://www.npmjs.com/package/react-contenteditable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question