<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phpGrid</title>
	<atom:link href="http://phpgrid.com/feed/?cat=-4" rel="self" type="application/rss+xml" />
	<link>http://phpgrid.com</link>
	<description>Instant PHP Datagrid Solution</description>
	<lastBuildDate>Sun, 22 Apr 2012 02:38:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>set_col_default()</title>
		<link>http://phpgrid.com/documentation/set_col_default/</link>
		<comments>http://phpgrid.com/documentation/set_col_default/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 04:03:12 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Docs]]></category>
		<category><![CDATA[4..5.5]]></category>
		<category><![CDATA[Default Value]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=2041</guid>
		<description><![CDATA[Parameters: $col_name: column name $default: column default value Description: Set column default value This option is only valid for Form Editing when adding a new record. User can override this entry. Example: 1$dg -&#62; set_col_default&#40;'direction', 'top'&#41;;]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Parameters</strong>:
<ul>
<li><strong>$col_name: </strong>column name</li>
<li><strong>$default: </strong>column default value</li>
</ul>
</li>
<li><strong>Description</strong>:
<ul>
<li>Set column default value This option is only valid for Form Editing when adding a new record. User can override this entry.</li>
</ul>
</li>
<li><strong>Example</strong>:</li>
</ul>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_default</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'direction'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'top'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/documentation/set_col_default/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>set_col_wysiwyg()</title>
		<link>http://phpgrid.com/documentation/set_col_wysiwyg/</link>
		<comments>http://phpgrid.com/documentation/set_col_wysiwyg/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 07:23:11 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Docs]]></category>
		<category><![CDATA[4.5]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1942</guid>
		<description><![CDATA[* only available in Professional and above. Parameters: $col_name: column name Description: Turns simple text field into word processor by replacing textarea with rich text editor. Should only be used for text fields that allows large amount of text such as notes and comment fields. Example: 1$dg-&#62;set_col_wysiwyg&#40;'comments'&#41;;]]></description>
			<content:encoded><![CDATA[<p><em>* only available in Professional and above.</em></p>
<ul>
<li><strong>Parameters</strong>:
<ul>
<li><strong>$col_name: </strong>column name</li>
</ul>
</li>
<li><strong>Description</strong>:
<ul>
<li>Turns simple text field into word processor by replacing textarea with rich text editor. Should only be used for text fields that allows large amount of text such as notes and comment fields.</li>
</ul>
</li>
<li><strong>Example</strong>:</li>
</ul>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_col_wysiwyg</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comments'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/documentation/set_col_wysiwyg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpGrid Knowledge Base</title>
		<link>http://phpgrid.com/kb/additional-phpgrid-knowledge-base/</link>
		<comments>http://phpgrid.com/kb/additional-phpgrid-knowledge-base/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 18:14:09 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[KB]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1928</guid>
		<description><![CDATA[Please visit phpGrid Knowledge Base on uservoice.]]></description>
			<content:encoded><![CDATA[<p>Please visit <a href="https://phpgrid.uservoice.com/knowledgebase">phpGrid Knowledge Base</a> on uservoice.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/kb/additional-phpgrid-knowledge-base/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional Format *</title>
		<link>http://phpgrid.com/example/conditional-format-2/</link>
		<comments>http://phpgrid.com/example/conditional-format-2/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:51:16 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[conditional output]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1898</guid>
		<description><![CDATA[* Please note this feature is not available in Lite and Basic versions. Conditional formatting example using set_conditional_format() method. 123456789101112131415$dg = new C_DataGrid&#40;&#34;SELECT * FROM orders&#34;, &#34;orderNumber&#34;, &#34;orders&#34;&#41;; //Format a cell based on the specified condition $dg-&#62;set_conditional_format&#40;&#34;orderNumber&#34;,&#34;CELL&#34;,array&#40;&#160; &#160; &#34;condition&#34;=&#62;&#34;eq&#34;,&#34;value&#34;=&#62;&#34;10107&#34;,&#34;css&#34;=&#62; array&#40;&#34;color&#34;=&#62;&#34;#ffffff&#34;,&#34;background-color&#34;=&#62;&#34;green&#34;&#41;&#41;&#41;; $dg-&#62;set_conditional_format&#40;&#34;customerNumber&#34;,&#34;CELL&#34;,array&#40;&#160; &#160; &#34;condition&#34;=&#62;&#34;eq&#34;,&#34;value&#34;=&#62;&#34;141&#34;,&#34;css&#34;=&#62; array&#40;&#34;color&#34;=&#62;&#34;red&#34;,&#34;background-color&#34;=&#62;&#34;#DCDCDC&#34;&#41;&#41;&#41;; // Format a row based on the specified condition $dg-&#62;set_conditional_format&#40;&#34;comments&#34;,&#34;ROW&#34;,array&#40;&#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p><em>* Please note this feature is not available in Lite and Basic versions.</em></p>
<p>Conditional formatting example using <a href="/documentation/set_conditional_format/">set_conditional_format()</a> method.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> C_DataGrid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM orders&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orderNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orders&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//Format a cell based on the specified condition</span><br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_conditional_format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;orderNumber&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;CELL&quot;</span><span style="color: #339933;">,</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br /></span>&nbsp; &nbsp; <span style="color: #0000ff;">&quot;condition&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;eq&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;value&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;10107&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;css&quot;</span><span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;#ffffff&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;background-color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;green&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_conditional_format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;customerNumber&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;CELL&quot;</span><span style="color: #339933;">,</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br /></span>&nbsp; &nbsp; <span style="color: #0000ff;">&quot;condition&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;eq&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;value&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;141&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;css&quot;</span><span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;red&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;background-color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;#DCDCDC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Format a row based on the specified condition</span><br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_conditional_format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;comments&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;ROW&quot;</span><span style="color: #339933;">,</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br /></span>&nbsp; &nbsp; <span style="color: #0000ff;">&quot;condition&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;cn&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;value&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;request&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;css&quot;</span><span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;white&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;background-color&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;#4297D7&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_multiselect</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a rel="prettyPhoto" href="/grid/examples/phpGridx/examples/conditional_formatting.php?iframe=true&amp;width=850&amp;height=500"><strong>See Live Example!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/example/conditional-format-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horizontal Scroll</title>
		<link>http://phpgrid.com/example/horizontal-scroll/</link>
		<comments>http://phpgrid.com/example/horizontal-scroll/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:13:25 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1882</guid>
		<description><![CDATA[Set parameter $shrinkToFit in set_dimension() to false to enable horizontal scroll when the container width is less than the grid width. The scroll bar will not show when the grid width is equal or less than the container width. 1234567891011121314151617181920$dg = new C_DataGrid&#40;&#34;SELECT * FROM orders&#34;, &#34;orderNumber&#34;, &#34;orders&#34;&#41;; &#160;// change column titles $dg -&#62; set_col_title&#40;&#34;orderNumber&#34;, [...]]]></description>
			<content:encoded><![CDATA[<p>Set parameter <strong>$shrinkToFit</strong> in <a href="/documentation/set_dimension/">set_dimension()</a> to false to enable horizontal scroll when the container width is less than the grid width. The scroll bar will not show when the grid width is equal or less than the container width.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> C_DataGrid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM orders&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orderNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orders&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #666666; font-style: italic;">// change column titles</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;orderNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Order No.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;orderDate&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Order Date&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;shippedDate&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Shipped Date&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;customerNumber&quot;</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #0000ff;">&quot;Customer No.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// hide a column</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_hidden</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;requiredDate&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// change default caption</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_caption</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Orders List&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// set export type</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">enable_export</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'EXCEL'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #666666; font-style: italic;">// enable integrated search</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">enable_search</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// set height and weight of datagrid</span><br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_dimension</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">800</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">600</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br /></span><span style="color: #666666; font-style: italic;">// increase pagination size to 40 from default 20</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_pagesize</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="/grid/examples/phpGridx/examples/horizontal_scroll.php?iframe=true&#038;width=950&#038;height=700" rel="prettyPhoto"><strong>See Live Example!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/example/horizontal-scroll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grid Auto Width</title>
		<link>http://phpgrid.com/example/grid-auto-width/</link>
		<comments>http://phpgrid.com/example/grid-auto-width/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:10:24 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[autowidth]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1877</guid>
		<description><![CDATA[Use enable_autowidth() to set datagrid width as the same as the current page width. 1234$dg = new C_DataGrid&#40;&#34;SELECT * FROM orders&#34;, &#34;orderNumber&#34;, &#34;orders&#34;&#41;; $dg-&#62;enable_edit&#40;'FORM', 'CRUD'&#41;; $dg-&#62;enable_autowidth&#40;true&#41;;$dg -&#62; display&#40;&#41;; See Live Example!]]></description>
			<content:encoded><![CDATA[<p>Use <a href="/documentation/enable_autowidth/">enable_autowidth()</a> to set datagrid width as the same as the current page width.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> C_DataGrid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM orders&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orderNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;orders&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">enable_edit</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FORM'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'CRUD'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">enable_autowidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br /></span><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="/grid/examples/phpGridx/examples/auto_fit_to_screen.php" target="_new"><strong>See Live Example!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/example/grid-auto-width/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional Value *</title>
		<link>http://phpgrid.com/example/conditional-value/</link>
		<comments>http://phpgrid.com/example/conditional-value/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:08:01 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[conditional output]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1873</guid>
		<description><![CDATA[* Please note this feature is not available in Lite and Basic versions. Conditional Value is similar to conditional format (see set_conditional_format but with simplier set of features. Use set_conditional_value() to dynamically display a value when specific condition is met. The conditional value can be text, HTML, or even CSS style. You can use conditional [...]]]></description>
			<content:encoded><![CDATA[<p><em>* Please note this feature is not available in Lite and Basic versions.</em></p>
<p>Conditional Value is similar to conditional format (see <a href="/documentation/set_conditional_format/">set_conditional_format</a> but with simplier set of features. Use set_conditional_value() to dynamically display a value when specific condition is met. The conditional value can be text, HTML, or even CSS style.</p>
<p>You can use conditional value with data bar in the same grid.</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.tstyle</span><br />
<span style="color: #00AA00;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">-2px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-2px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">green</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">navy</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.fstyle</span><br />
<span style="color: #00AA00;">&#123;</span> <br />
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">-2px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-2px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">yellow</span><span style="color: #00AA00;">;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">navy</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>PHP Code</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> C_DataGrid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM joborders&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;jobNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;joborders&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;jobNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Job Number&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;jobDescription&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Description&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;status&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Status&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;percentComplete&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Progress (%)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;isClosed&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Closed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
&nbsp;<br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_conditional_value</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;isClosed&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;==1&quot;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br /></span>&nbsp; &nbsp; <span style="color: #0000ff;">&quot;TCellValue&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;&lt;img src='SampleImages/checked.gif' /&gt;&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">&quot;FCellValue&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;&lt;img src='SampleImages/unchecked.gif' /&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_conditional_value</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;status&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;=='Complete'&quot;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br /></span>&nbsp; &nbsp; <span style="color: #0000ff;">&quot;TCellStyle&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;tstyle&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">&quot;FCellStyle&quot;</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;fstyle&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<br />
<span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">enable_edit</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'INLINE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'CRUD'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<br />
<span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_multiselect</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_databar</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;percentComplete&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;red&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="/grid/examples/phpGridx/examples/conditional_value.php?iframe=true&#038;width=850&#038;height=600" rel="prettyPhoto"><strong>See Live Example!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/example/conditional-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In-cell Data Bar *</title>
		<link>http://phpgrid.com/example/in-cell-data-bar/</link>
		<comments>http://phpgrid.com/example/in-cell-data-bar/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:04:14 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[databar]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1870</guid>
		<description><![CDATA[Bar chart is a great way to visualize numeric data. phpGrid now supports bar chart natively without 3rd party plugin using set_databar() method. You can have multiple data bar in a datagrid. For complex data visualization, we recommend PHP Chart. Please visit PHP Chart for live demo. 123456789101112$dg = new C_DataGrid&#40;&#34;SELECT * FROM joborders&#34;, &#34;jobNumber&#34;, [...]]]></description>
			<content:encoded><![CDATA[<p>Bar chart is a great way to visualize numeric data. phpGrid now supports bar chart natively without 3rd party plugin using <a href="/documentation/set_databar/">set_databar()</a> method. You can have multiple data bar in a datagrid.</p>
<p>For complex data visualization, we recommend <a href="http://phpchart.net">PHP Chart</a>. Please visit <a href="http://phpchart.net">PHP Chart</a> for live demo.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> C_DataGrid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM joborders&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;jobNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;joborders&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;jobNumber&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Job Number&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;jobDescription&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Description&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;status&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Status&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;percentComplete&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Progress (%)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_col_title</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;isClosed&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Closed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
&nbsp;<br />
<span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_databar</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;percentComplete&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;blue&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br /></span><span style="display:block;background-color:#ffff66"><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">set_databar</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;jobNumber&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;blue&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br /></span><span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">enable_edit</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INLINE&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;CRUD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
&nbsp;<br />
<span style="color: #000088;">$dg</span> <span style="color: #339933;">-&gt;</span> <span style="color: #004000;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="/grid/examples/phpGridx/examples/data_bar.php?iframe=true&#038;width=850&#038;height=500" rel="prettyPhoto"><strong>See Live Example!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/example/in-cell-data-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setCallBack</title>
		<link>http://phpgrid.com/documentation/setcallback/</link>
		<comments>http://phpgrid.com/documentation/setcallback/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 19:57:21 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Docs]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[integration]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1867</guid>
		<description><![CDATA[Parameters: $callback_str: callback string Description: Used for pass setting between 3rd party system and phpGrid using AJAX callback. Read the comments in file callbackstr.php for usage]]></description>
			<content:encoded><![CDATA[<div>
<ul>
<li><strong>Parameters</strong>:
<ul>
<li><strong>$callback_str: </strong>callback string</li>
</ul>
</li>
<li><strong>Description</strong>:
<ul>
<li>Used for pass setting between 3rd party system and phpGrid using AJAX callback. Read the comments in file <em>callbackstr.php</em> for usage</li>
</ul>
</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/documentation/setcallback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>set_form_dimension()</title>
		<link>http://phpgrid.com/documentation/set_form_dimension/</link>
		<comments>http://phpgrid.com/documentation/set_form_dimension/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 19:54:18 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Docs]]></category>
		<category><![CDATA[4.4]]></category>
		<category><![CDATA[dimension]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://phpgrid.com/?p=1865</guid>
		<description><![CDATA[Parameters: $f_width: form width. The default value is &#8217;400px&#8217; $f_height: form height. The default is -1 so it is automatically adjusted to number of rows. Description: Set edit FORM width and height during edit. Remark: The default $f_height value is -1 (negative one) so it is automatically adjusted to number of rows. Example: 1$dg-&#62;set_form_dimension&#40;'500px'&#41;;]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Parameters</strong>:
<ul>
<li><strong>$f_width: </strong>form width. The default value is &#8217;400px&#8217;<strong><br />
</strong></li>
<li><strong>$f_height</strong>: form height. The default is -1 so it is automatically adjusted to number of rows.</li>
</ul>
</li>
<li><strong>Description</strong>:
<ul>
<li>Set edit FORM width and height during edit.</li>
</ul>
</li>
<li><strong>Remark:</strong></li>
<ul>
<li>The default <strong>$f_height</strong> value is <strong>-1</strong> (negative one) so it is automatically adjusted to number of rows.</li>
</ul>
<li><strong>Example</strong>:</li>
</ul>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$dg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_form_dimension</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'500px'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://phpgrid.com/documentation/set_form_dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

