<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Rowid subgrid and export PDF(excel,...)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Rowid subgrid and export PDF(excel,...)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel#p31084</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel#p31084</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>You use a php commertial product.</p>
<p>Please post your question here</p>
<p>Â </p>
<p><a href="http://www.trirand.net/forum" rel="nofollow" target="_blank">http://www.trirand.net/forum</a></p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 08 Sep 2014 14:16:35 +0300</pubDate>
        </item>
        <item>
        	<title>Xid on Rowid subgrid and export PDF(excel,...)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel#p31060</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/rowid-subgrid-and-export-pdfexcel#p31060</guid>
        	        	<description><![CDATA[<p>Hi all :),</p>
<p>Â </p>
<p>I'm trying to do such a thing :</p>
<p>Â </p>
<p>I have a "main grid", when I click a row, a second grid show me de details. The two grids are on a different PHP=&#62; this part is working. I based my work on this : <a href="http://www.teleosmedia.com/dev/oldanlytics/documentation/html/_2v90kwx4j.htm" rel="nofollow" target="_blank"><a href="http://www.teleosmedia.com/dev" rel="nofollow">http://www.teleosmedia.com/dev</a>.....0kwx4j.htm</a></p>
<p>But! When I try to export the detail grid I get only the titles and empty data. I have notice that rowid was null when I do such a thing. Don't know why. (When the detail is generated it is ok).</p>
<p>Receiving rowid from main grid :</p>
<p>if(isset ($_REQUEST["CustomerID"])){<br />
 Â Â  Â $rowid=jqgridUtils::Strip($_REQUEST["CustomerID"]);<br />
 Â Â  Â //$_REQUEST["CustomerID"] = $rowid;<br />
 }</p>
<p>else<br />
 {<br />
 Â Â  Â if(!isset($rowid))<br />
 Â Â  Â {<br />
 Â Â  Â Â Â  Â $rowid = "0";<br />
 Â Â  Â }<br />
 }</p>
<p>Â </p>
<p>==&#62; ok when click on main grid</p>
<p>==&#62; null when PDF.</p>
<p>Â </p>
<p>The thing is : I'm using rowid in my request :</p>
<div class="sfcode">
<pre class="brush-php syntax">$grid2-&#62;SelectCommand = "SELECT t_fichePat.*, concat(atd_listepathisto.nom,' ',atd_listepathisto.pren) as NomPatient,fc_labelcaisse.nom as NomLabel, ((fc_reportpatient.SoldeP-(select Sum(ModifSolde) Â Â  Â Â Â  Â Â Â  Â from fc_fichepatient Â Â  Â Â Â  Â Â Â  Â where IdPatient=(select idPatient from fc_Totaux where IdTotaux= ".$rowid.") Â Â  Â Â Â  Â Â Â  Â and idService=(select idUS from fc_Totaux where IdTotaux= ".$rowid.") Â Â  Â Â Â  Â Â Â  Â and dateFiche&#62;= t_fichePat.dateFiche Â Â  Â Â Â  Â Â Â  Â and ID&#62;= t_fichePat.ID Â Â  Â Â Â  Â Â Â  Â order by dateFiche desc, ID desc))+ModifSolde) as Solde FROM fc_fichepatient as t_fichePatÂ Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â  INNER JOIN atd_listepathisto ON atd_listepathisto.AdmNr=t_fichePat.IdPatient INNER JOIN fc_labelcaisse ON fc_labelcaisse.id=t_fichePat.label INNER JOIN fc_reportpatient ON fc_reportpatient.IdPatient=t_fichePat.IdPatient WHERE t_fichePat.IdPatient = (select idPatient from fc_Totaux where IdTotaux= ".$rowid.") AND idService= (select idUS from fc_Totaux where IdTotaux= ".$rowid.")";</pre></div><p>Please help me, I need this import^^ <img src="http://www.trirand.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="spWPSmiley" style="max-height:1em;margin:0"  /> </p>
]]></description>
        	        	<pubDate>Fri, 05 Sep 2014 09:52:55 +0300</pubDate>
        </item>
</channel>
</rss>