Compatible paste does not work

I implemented handsontable in MVC.Net 4 using razer views, and although the insert functionality works fine on the local host (both in release mode and debug mode), it does not work after deployment.

It fails (without console output), but if you double-click to edit a specific cell, you can paste all the data into this cell, but this will not work when trying to insert a table from excel into a handsontable. I tried to debug the real code, but did not find anything that could help, only that the hidden textarea (copyPaste class) is not set to active when the ctrl key is pressed, but I could completely make a mistake in this question, I donโ€™t know, maybe whether it be an IIS installation (I doubt it is javascript - the client side) or something completely unrelated, but any help would be greatly appreciated. I feel like I'm a little crazy with that.

+7
javascript jquery spring-mvc handsontable
source share
1 answer

I found a problem that is deceptively simple.

In jquery.handsontable.full.js on line 6279:

that.selectNodeText(that.elTextarea); 

This line was commented out, I just uncommented it, and everything worked beautifully again.

I hope this helps someone one day if they run into the same problem. Happy coding!

+2
source share

All Articles