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,
We are using WebGrid 8 and are trying to copy all the data from the grid. The data is only copied from rows which have been previously selected. I have checked multiple tables, and even the Intersoft grid demo and the problem exists in all locations.
I would like to know if there is a solution to this, as clicking each individual entry is not feasible with a list of over 100.
Sorry for any inconvenience this problem may have caused you.
This problem has been reported to WebGrid development team to be investigated further. It is filed under ASPNET-149. I will keep this thread updated with any news I heard from the team regarding ASPNET-149.
Hello Yudi,
I am wondering if the fix has been implemented for this issue, as it has been quite a while without any news. If not, if you could supply an estimate for this fix it would be appreciated.
Regards,
James
The fix for ASPNET-149 has not been implemented in WebGrid code. I may be able to help by raising the priority of the problem.
I'll check the estimate time with the development team and get back to you with any news I heard from them.
I'd like to inform you [Martin Fitzgerald] that hotfix of this problem will only available for WebGrid 9. When the nightly-build hotfix is ready, I'll update this thread.
I am still experiencing this issue and have since upgraded to WebGrid version 9.0.7200. I would like an estimate of when this issue will be resolved.
I use following JavaScript snippet code as an alternate solution of "Copy Table". The code has been tested on a simple WebGrid layout and it works as expected.
function CopyTableToClipBoard() { var grid = ISGetObject("WebGrid1"); var rootTable = grid.RootTable; var gridTableElement = rootTable.GetElement(WG40.BODY, WG40.HTMLTABLE); var colHeaderElement = rootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE).rows[0]; var c = ""; if (colHeaderElement) { for (var b = 0; b < colHeaderElement.cells.length; b++) { var a = colHeaderElement.cells[b]; if (a.type == "Column") { c += a.innerText + "\t"; } } } if (c != "") { c = c.substring(0, c.length - 1) + "\n"; } for (var i = 0; i < gridTableElement.rows.length; i++) { var rowElement = gridTableElement.rows[i]; if (wgIsRecordRow(rowElement)) { c += WGMenuEngine.CopyRow(rootTable, rowElement, true); } } wgCopyToCB(c); return true; }
Please let me know if this works for you too.
This code did not work for me and acted the exact same way as the current function. However, we have recently found that the issue is not related to the WebGrid version, and works as expected on IE8. The issue is only seen on IE9+.
If you could give me any information on a possible timeline for the code to be fixed, that would be great.
I have modified the JS code and ensure that it works on IE 11 browser. For your information, the code is tested using latest build of WebGrid 9 ( 9.0.7200.8) and WebUI.NET Framework 3 (3.0.5000.920).
Please find the modified JS code in the attachment (CopyThisTableScript.txt) and let me know whether this works or not.
This solution does work for me, but there is still the issue of passing the grid name for each table. This should work as a temporary solution until the issue is resolved in the grid code. Thank you.
I am wondering if this will be fixed anytime soon. I can see the issue still exists in the current WebGrid 10.0.7200 demo on your website and I would like a possible timeframe for which I can expect the fix.
I do not wish to have workarounds in my code so I hope to remove this one as soon as possible.
Thanks,
I found that "Copy this Table" works on client-binding WebGrid. You can try to test this feature on the live sample of WebGrid in these samples:
I have forwarded this information to WebGrid development team and update this thread with any news I heard from the team regarding to ASPNET-149.
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