<?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: How can i Resize Grid jqGrid ?? ...</title>
	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-can-i-resize-grid-jqgrid</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/jqgrid-roadmap/how-can-i-resize-grid-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How can i Resize Grid jqGrid ?? ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-can-i-resize-grid-jqgrid#p31360</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-can-i-resize-grid-jqgrid#p31360</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Take a look of the shrinkToFit option and width option of the grid.</p>
<p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Sun, 09 Nov 2014 16:35:06 +0200</pubDate>
        </item>
        <item>
        	<title>head777 on How can i Resize Grid jqGrid ?? ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-can-i-resize-grid-jqgrid#p31345</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/how-can-i-resize-grid-jqgrid#p31345</guid>
        	        	<description><![CDATA[<p>Dear, good afternoon.</p>
<p>The question is pretty simple, but I've gone around the page Trirand but I could not find a way how to make the grid bigger.</p>
<p>Currently, I have a grid with jqGrid with Php but I fail to make the grid bigger, I've managed to make the columns bigger but not the grid</p>
<p>I know the question is novice, but haven't found it. I hope you can help me.</p>
<p>I also show them my php code, to see what I'm doing.</p>
<p>Â </p>
<pre>&#60;?php
require_once 'jq-config.php';
// include the jqGrid Class
require_once "php/jqGrid.php";
// include the PDO driver class
require_once "php/jqGridPdo.php";
// Connection to the server
$conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD);

// Create the jqGrid instance
$grid = new jqGridRender($conn);
// Write the SQL Query
// We suppose that mytable exists in your database
$grid-&#62;SelectCommand = "SELECT CONCAT(C.nombre,' ',C.apellido ) AS Nombre, G.Observacion, T.nombre Topico, 
If(G.Prioridad = 1, 'Alta',If( G.Prioridad = 2, 'Media','Baja')) Prioridad,
O.nombre Output, G.Fecha_Gap, G.Fecha_Cierre
FROM Colaboradores C, Gaps G, Topicos T, Outputs O
WHERE C.id = G.id_colaborador
AND T.id = G.id_topico
AND O.id = G.id_output";

// set the ouput format to json
$grid-&#62;dataType = 'json';
// Let the grid create the model
$grid-&#62;setColModel();
// Set the url from where we obtain the data
$grid-&#62;setUrl('myfirstgrid.php');
// Set grid caption using the option caption
$grid-&#62;setGridOptions(array(
    "caption"=&#62;"GAP's De Auditoria Contabilidad y Finanzas",
    "rowNum"=&#62;10,
    "sortname"=&#62;"C.nombre",
    "rowList"=&#62;array(10,20,50)
    ));

// Change some property of the field(s)
$grid-&#62;setColProperty("Nombre", array("width"=&#62;"600")); 
$grid-&#62;setColProperty("Observacion", array("width"=&#62;"1200")); 
$grid-&#62;setColProperty("Topico", array("width"=&#62;"300")); 
$grid-&#62;setColProperty("Prioridad", array("width"=&#62;"300")); 
$grid-&#62;setColProperty("Output", array("width"=&#62;"300")); 
$grid-&#62;setColProperty("Fecha_Gap", array("width"=&#62;"300")); 
$grid-&#62;setColProperty("Fecha_Cierre", array("width"=&#62;"300")); 


// Run the script
$grid-&#62;renderGrid('#grid','#pager',true, null, null, true,true);
?&#62;</pre>
]]></description>
        	        	<pubDate>Fri, 07 Nov 2014 01:02:33 +0200</pubDate>
        </item>
</channel>
</rss>