jQuery UI Widgets › Forums › Grid › Grid cell paste value ( in IE )
Tagged: Internet Explorer, jqxgrid, paste
This topic contains 9 replies, has 4 voices, and was last updated by bhanu 9 years, 11 months ago.
-
Author
-
Hi team,
I have a grid where the customer wants to paste values into cells.
I tested that with Firefox and it works like a charm.
Sadly the customer uses IE and there copy & paste is not working.
No message, no error, just not working.
Is there anything we can do? Special setting I am missing?For reference a grid example.
https://jsfiddle.net/hc0mxr13/2/
I tested with IE11 and IE9Thanks in advance
Hi flehmann,
This issue is produced in IE and it depends from some security settings related to clipboard.
The permissions can be set in few steps:
1. Open Internet Explorer.
2. Click on Tools.
3. Click on Internet Options.
4. Under Security tab, Click on Internet and then click on Custom level.
5. Scroll down and under Scripting, you will find an option “Allow Programmatic clipboard access”.
6. Under that click on Enable and click OK and again OK.Unfortunately this didn’t work for many IE users. Here is a topic about that issue.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi Ivailo,
Copy to clipboard is working. With or wihtout prompt, so basically the setting should be correct.
Still I cannot paste to the grid.
Funnily once every ten times it works and I dont know why.I need a definite answer for my customer.
Thanks
Hi flehmann,
In this case we cannot offer you any workaround.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi iVailo,
I would really appreciate some pointers on this. As copy paste is one of the basic functionality and we would want it to work.
Regards,
Mithil.Hi Team,
Even I’am facing the same issue. Unable to paste anything in my grid(Using IE browser). It works once in a blue moon. Please help me in resolving this as copy paste is the significant functionality of my application.
Thanks&Regards
BhanuHi Ivailo,
Please dont be mad at me, but I checked the jqxgrid.selection.js and found the problem.
Basically the delayed method that is called after the paste is called twice for IE.
The first time is too fast. IE’s paste is not yet completed. So the method cannot receive any value (from the hidden textarea)
The method then removes the hidden textarea, swaps focus etc.
So the second time, when the value would be there, it cannot complete anymore.
A quick fix would be to let the function check if it already received a value and exit if not.
That would work in my case.
But obviously that would prevent the paste method to really paste empty values, so I understand that this solution is not really an option to be included in the next release.According to the EULA I may keep this change in my version as long as I keep it obfuscated, right?
– You may examine, debug and introduce modifications to the Software and its source code in order to provide better integration with your web sites, applications or other products. You may incorporate the original or modified version of the Software within your products but only in minified (obfuscated) format.
Thanks
Hi flehmann,
Yes. You can keep the changes only if you have Developer/Enteprise License!
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi Ivailo,
We have made the change as mentioned by flehmann and able to copy paste cells for IE.
I had one question regarding the same.
In the upcoming jQWidgets release, would we have this fix integrated? If not, would we need to remodify the code or we can do some work around.Also appreciate the efforts by flehmann. Thank you.
Regards,
Mithil.Hello All,
Can anyone please tell me the changes that needs to be in selection.js in order to get copy paste working in IE. I am really worried as copy paste is the major function for my application.
Thanks&Regards
Bhanu -
AuthorPosts
You must be logged in to reply to this topic.