﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Wed, 16 Jul 2014 22:34:09 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Exporting is not supported when binding mode is set to either WCF, WebService or Astoria. It is due to the datasource is handled externally from other external source, then return the data to Client-side directly to be processed. As for exporting, the data source needs to be on the Server-side in order to export the data and perform additional Server-side binding and processing.&lt;br&gt;&lt;br&gt;Please have review on the documentation for further information.&lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Wed, 16 Jul 2014 05:50:44 GMT</pubDate><dc:creator>GaneshNayakK</dc:creator><description>Hi Han,&lt;br&gt;&lt;br&gt;Thank u so much for the Reply..&lt;br&gt;&lt;br&gt;In Intersoft, Export to Excel – Unable to Export to Excel when webgrid is binded with help of webservice.&lt;br&gt;&lt;br&gt;Hi Support Team,&lt;br&gt;We are facing an issue with WebGrid (7.0.7200.431 &amp;amp; 8.0.7200.259). When we are exporting the Grid data to ‘Excel’ file, we are getting the javascript error “Invalid Client Service Command.”&lt;br&gt;&lt;br&gt; We have altered below sample file provided with the Intersoft installation to reproduce the issue.&lt;br&gt;&lt;br&gt;C:\Program Files (x86)\Intersoft Solutions\Intersoft Premier Studio 2014 R1\Samples\For ASP.NET\ISNet.WebUI.Samples\vb\WebGrid\ClientBinding_WebService.aspx&lt;br&gt;To simulate please click on the export icon select ‘Excel’ then click “Export Now” button.&lt;br&gt;Check the JavaScript error, we have attached the below image files as well.&lt;br&gt;“WebGrid - JavaScript Runtime Error 1” and WebGrid – “JavaScript Runtime Error 2”&lt;br&gt;&lt;br&gt;I saw the forum it is the default drawback of the clientside binding.&lt;br&gt;&lt;br&gt;Can u give me the sample for exporting if the grid is binded with webservice&lt;br&gt;</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Tue, 15 Jul 2014 23:12:13 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;I apologize, currently WebGrid doesn’t have any feature to export child table in SelfReferencing mode.&lt;br&gt;&lt;br&gt;I will forward this to the developer team to consider this as a feature request.&lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Tue, 15 Jul 2014 11:09:45 GMT</pubDate><dc:creator>GaneshNayakK</dc:creator><description>Hi Hans,&lt;br&gt;&lt;br&gt;Thanks for the Reply..&lt;br&gt;&lt;br&gt;Can u provide me the javascript code for exporting the self referenced grid data to excel.&lt;br&gt;&lt;br&gt;We are facing an issue with WebGrid (7.0.7200.431 &amp;amp; 8.0.7200.259). When we are exporting the Self referenced Grid data to ‘Excel’ file, self referenced data is not exporting.&lt;br&gt; &lt;br&gt;We have altered below sample file provided with the Intersoft installation to reproduce the issue.&lt;br&gt;&lt;br&gt;C:\Program Files (x86)\Intersoft Solutions\Intersoft Premier Studio 2014 R1\Samples\For ASP.NET\ISNet.WebUI.Samples\vb\WebGrid\SelfReferencingGrid.aspx&lt;br&gt;&lt;br&gt;To simulate please click on the export icon select ‘Excel’ then click “Export Now” button.&lt;br&gt;Open exported file, see only Root row is exported.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Ganesh Nayak K</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Tue, 15 Jul 2014 02:25:41 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;I try to modify one of WebGrid Samples Solution, HierarchicalGrid.aspx page, by adding a couple of buttons to export WebGrid data.&lt;br&gt;&lt;br&gt;Here’s snippet example code how to export the root table:&lt;pre&gt;function ExportRootTable() {    var WebGrid1 = ISGetObject("WebGrid1");

    //export grid data to Microsoft Excel
    WebGrid1.ExportGrid("Customers", "EXCEL", "PORTRAIT");
            
    return true;
}&lt;/pre&gt;&lt;p&gt;Here’s snippet example code how to export the child table:&lt;br&gt;&lt;/p&gt;&lt;pre&gt;function ExportSelectedChildTable_Orders() {
    var WebGrid1 = ISGetObject("WebGrid1");

    //export grid data to Microsoft Excel
    WebGrid1.ExportGrid("Orders", "EXCEL", "PORTRAIT", WebGrid1.GetSelectedObject().ToRowObject().GetParentRow().RowElement);

    return true;
}&lt;/pre&gt;&lt;p&gt;I attached the page that show how implement the JavaScript code.&lt;br&gt;Please try to add the page to the WebGrid Samples Solution to see the result.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Mon, 14 Jul 2014 03:07:31 GMT</pubDate><dc:creator>GaneshNayakK</dc:creator><description>Hi Hans,&lt;br /&gt;&lt;br /&gt;Thanks for the reply.&lt;br /&gt;I saw the above link, I want to know how to export the child table using javascript i.e. how to pass the parent row parameter in ExportGrid javascript function.&lt;br /&gt;Give me some sample for the Exporting Child table data using "ExportGrid" javascript function.&lt;br /&gt;&lt;br /&gt;Waiting for your reply..&lt;br /&gt;&lt;br /&gt;Thanks and Regards,&lt;br /&gt;Ganesh Nayak K&lt;br /&gt;&lt;br /&gt;</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Mon, 14 Jul 2014 02:56:26 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Thank you for your question.&lt;br&gt;&lt;br&gt;By default, WebGrid didn’t have feature to export the Hierarchical WebGrid with its hierarchical structure.&lt;br&gt;However you could export the Root table and Child table separately.&lt;br&gt;But WebGrid only export the selected Child table from a row (one row) in Root table, not all Child table rows. &lt;br&gt;&lt;br&gt;For further information regarding exporting WebGrid data from JavaScript, please kindly follow this link below:&lt;br&gt;http://www.intersoftpt.com/Support/WebGrid/KB/Export-WebGrid-Data-Using-Javascript/&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>How to Export Hierarchical Grid Data to Excel using javascript.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-Export-Hierarchical-Grid-Data-to-Excel-using-javascript/</link><pubDate>Fri, 11 Jul 2014 03:05:24 GMT</pubDate><dc:creator>GaneshNayakK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Please provide the javascript to export the Hierarchical Grid Data to Excel. I have the below javscript code for Exporting the Root table. I have attached my sample.&lt;/p&gt;&lt;p&gt;In my sample I have integrated the excel icon to the status bar and onclick of it i am calling the below javascript function&lt;/p&gt;&lt;pre&gt;function ExportToExcel(gridId)
{
var webGridId = ISGetObject(gridId);
webGridId.ExportGrid(webGridId.RootTable.Id, "EXCEL", "PORTRAIT");
}&lt;/pre&gt;&lt;p&gt;Please can u provide the javscript code or some sample&amp;nbsp;to export the Hierarchical Grid Data or child table data.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Ganesh Nayak K&lt;/p&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;</description></item></channel></rss>