<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This question has nothing to do with OpenLayers.<div><br></div><div>I’d suggesting using the GeoExt list instead.<br><div><br></div><div>Best regards,</div><div>Bart</div><div><br></div><div><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">--</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Bart van den Eijnden<br>Front-end Developer | Boundless<br>@boundlessgeo</div>
</div>
<br><div><div>On 17 Dec 2013, at 04:47, Brad Bordine <<a href="mailto:b.bordine@decapower.org">b.bordine@decapower.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I am trying to make a Ext grid object print out via mapfish print and am unclear how to send the "grids" parameter through the spec. There is an example of a user sending the grids parameter to the Mapfish "print widget (<a href="http://web.archiveorange.com/archive/v/0qLmXVvRWkxmMKrmM5kL">http://web.archiveorange.com/archive/v/0qLmXVvRWkxmMKrmM5kL</a>) however no one mentions how to do that using the print.provider GeoExt widget, which seems to be the object communicating with the server Mapfish widget. We are aware of the need for configuring the YAML but at the moment are trying to figure out how to get the right spec. Relevant snippets are below<br><br>       avoidedgrid = new Ext.grid.GridPanel({<br>            title: "Total Avoided Costs for 1MW at Specified Location",<br>            id: 'gridpanel',<br>            renderTo: "gridoutput",<br>            height:75,<br>            width:365,<br>            collapsible: true,<br>            iconCls: 'icon-grid',<br>            ds: ds,<br>            cm: colModel<br>        });<br><br>var printProvider = new GeoExt.data.PrintProvider({<br>        method: "POST", // "POST" recommended for production use<br>        layout: ('Letter'),<br>        capabilities: printCapabilities, // from the info.json script in the html<br>        customParams: {<br>            mapTitle: "DECA Map",<br>            dpi: 300,<br>            grids: [avoidedgrid]<br>        }<br>    });<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></div></body></html>