Hot to use setDataAtCell while editing a cell and not get blured

Tags: #<Tag:0x00007efc64487e18>

I’m working on a collaborative sheet, basically someone could change the data of his sheet and broadcast the change to everyone else, and I’m using setDataAtCell to do that.

And the problem occurs when you are editing a cell, meanwhile setDataAtCell triggered to set the value of another cell, then you’ll lost focus on the cell and what you’ve been editing.So how can I use setDataAtCell(or anything equivalent) without interrupt the cell editing?

Hi @xusysh

we haven’t created a collaboration tutorial yet (planned in this post https://github.com/handsontable/docs/issues/255) but there are some other materials like here https://pusher.com/tutorials/realtime-spreadsheets-part-2 when the author describes how he has used Handsontable to create a collaborative spreadsheet solution.

When it comes to the setDataAtCell you may use this demo https://jsfiddle.net/pqywdb3r/2/

1 Like

Great thanks!