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
Hi,
Is there any features to print only the complete grid data without exporitng the data in excel or csv?
I am in need to have a menu-option of print from within the grid that prints the complete grid data.
I had chat conversation with your support team(Jolis and Arief) they suggest to set AllowPrint to in Webgrid layout.
As My requirement is need to print all webgrid data, I disabled the paging and loaded all the records(around 10000).
once I hit the print command from webgrid it takes too much time to print the data into pdf(for testing) and following problem(attached) in print layout:
1. First column is not rounding properly, it is cutting.
2. Some blank space after rows.
3. overlapped the data.
all the above issue you can see in attachement.
waiting for your reply ASAP.
Thanks
Rupesh Shakti
(Software Engineer)
var isPrint = false; function ExportHTMLAndPrint() { var WebGrid1 = ISGetObject("WebGrid1"); isPrint = true; WebGrid1.ExportGrid("", "HTML", "PORTRAIT"); } function OnExportPrintResponse(controlId, status) { var grid = ISGetObject(controlId); if (isPrint) { var fileLocation = ISXml.GetNodeText(grid.XmlResp, "//outputFile"); var iFrameWindow = document.getElementById("printFrame"); if (!iFrameWindow) { iFrameWindow = document.createElement("iframe"); iFrameWindow.id = "printFrame"; iFrameWindow.style.display = "none"; document.body.appendChild(iFrameWindow); } iFrameWindow.src = fileLocation; debugger; if (iFrameWindow.contentWindow.print) { iFrameWindow.onload = function () { iFrameWindow.contentWindow.print() }; } else { iFrameWindow.onload = iFrameWindow.contentWindow.document.execCommand("print", false, null); } grid.SetStatus1("", "ready", "CommonText/Ready"); return false; }
and here is my client side event I intercept the OnResponse
<ClientSideEvents OnResponse="OnExportPrintResponse" />
The result is whenever you press the button it will automatically show print pages using export to HTML.Hope this will help!
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