I am using dynamic data display from mysql to handsontable. But while clicking to change the cell gets over expanded.
What is the issue ??? How to save the data in database, when the data in the handsontable is changed ??
Overexapnding cell in handsontable
Hi @chhetri450
I saw the editor length bug somewhere before and I am pretty sure that it is connected to styles. Can you try to comment the Bootstrap or any additional styles and check if it is still looking like this?
When it comes to updating data you can use the afterChange
method to get changed cell coordinates and a new value to pass it further.
Hi Aleksandra,
We have the same issue with regards to the over-expanding cell. We are using a custom cell renderer.
I posted regarding this at this link:
Entering edit mode on a cell causes editable cell area to expand to right most edge of table.
Thankyou aleksandra editor length bug has been resolved but can u please help me with afterchange method?? Its not working . I am new at this . Can u please point me any example working with saving data to database ??
Hi @chhetri450
Here is an example that shows what we can get from afterChange
http://jsfiddle.net/g8wpm1ew/
All data is logged in the console
It was because of the position css in “element.style”. Its been resolved by placing another .js file from
https://cdnjs.cloudflare.com/ajax/libs/handsontable/0.35.0/handsontable.js
I dont exactly knw how it got removed but by replacing my old js to one from this cdn it worked fine. You can try it