<?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: Combining columns on grid but seperate on dialog?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/combining-columns-on-grid-but-seperate-on-dialog</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/combining-columns-on-grid-but-seperate-on-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Shift4SMS on Combining columns on grid but seperate on dialog?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combining-columns-on-grid-but-seperate-on-dialog#p21223</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combining-columns-on-grid-but-seperate-on-dialog#p21223</guid>
        	        	<description><![CDATA[<p>I have two fields eventDate and eventTime. On the grid I would like a single "Event Time Stamp" column, but on the add/edit dialog I would like the fields seperated. I set the hidden:true and edithidder:true for the eventTime. I also created a custom formatter for the eventDate field to combine the two on the grid:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;formatter:function(cellvalue, options, rowObject) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;if (inDialog)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return cellvalue<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;else<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return rowObject[2] + " " + rowObject[3];<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;}</p>
<p>inDialog is a boolean is toggle based on beforeShowForm and onClose events. inDialog is setting properly but the default field value for eventDate is "mm/dd/yyyy hh:mmtt", where I want it to be "mm/dd/yyyy".</p>
<p>Any ideas and/or am I going about this the right way?</p>
]]></description>
        	        	<pubDate>Wed, 08 Dec 2010 22:03:52 +0200</pubDate>
        </item>
</channel>
</rss>