iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
I'm trying to achive webgrid cell copy in chrome (v.33), though I'm getting the following error:
"This function is not supported in this version of Gecko engine."
Please advise.
Hello,I got the update from the developer team regarding this issue.Basically this error message occurs due to browser (non IE) limitation itself.You couldn’t do ‘Copy Row’ action in non-IE browser.I have a workaround that you might try. You could hide the “Copy Row” item if the browser isn’t Internet Explorer.You could add validation code in “OnRowContextMenu” client side event. Here’s the snippet example code how to hide the “Copy Rom” item:
function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject){ var WebGrid1 = ISGetObject(controlId); if (!IS.ie) { //To hide "Copy Row" item menuObject.Items.GetNamedItem("mnuCopyRow").Hide(); //To hide "Copy Table" item menuObject.Items.GetNamedItem("mnuCopyTable").Hide(); } return true; }
I’m sorry for the inconvenience. Thank you.Regards,Hans K.
Hello,Perhaps you could use another JavaScript third party library, for example: ZeroClipboard.Then you could add customize context menu item to call your customize JavaScript function code.Here’s the example snippet code how to add customize context menu item:
function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject){ var WebGrid1 = ISGetObject(controlId); if (!IS.ie) { //To hide "Copy Row" item menuObject.Items.GetNamedItem("mnuCopyRow").Hide(); //To hide "Copy Table" item menuObject.Items.GetNamedItem("mnuCopyTable").Hide(); // Add new context item nemu var copyRowItem = new WebMenuItem(); copyRowItem.Text = "Copy Row Non-IE"; copyRowItem.OnClick = function () { copyRowNonIE() }; copyRowItem.Name = "mnuCopyRowNonIE"; menuObject.Items.InsertAt(copyRowItem, 0); // Add new context item nemu var copyTableItem = new WebMenuItem(); copyTableItem.Text = "Copy Table Non-IE"; copyTableItem.OnClick = function () { copyTableNonIE() }; copyTableItem.Name = "mnuCopyTableNonIE"; menuObject.Items.InsertAt(copyTableItem, 1); } return true; }
Hope this helps.Regards,Hans K.
Hello,Thank you for the reply.I got an article about why browser like Firefox didn’t allow user to have access to the clipboard.“By default, JavaScript is not allowed to read or set your clipboard data for security and privacy reasons.This is because websites scripts can erase and replace what you currently have in your clipboard (data loss issue) and they can read whatever you have in your clipboard (security and privacy issue); as such, you should grant access with caution.”You could read more about the article from this link:- http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard- https://support.mozilla.org/en-US/questions/969543Hope this helps.Regards,Hans K.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname