<?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: 'Server side' Templates</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/server-side-templates</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/feature-request/server-side-templates/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>sgentile on 'Server side' Templates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/server-side-templates#p19000</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/server-side-templates#p19000</guid>
        	        	<description><![CDATA[<p>I like everything I see in this grid. &#160;However, I&#39;d rather be able to perform server side html templates in the grid.</p>
</p>
<p>ie. if I have a complex field, with several data elements, etc.. I would like to be able to inject a user control. &#160;For example:</p>
</p>
<pre id="modelContent" class="prettyprint code lang-cs"></pre>
<pre id="modelContent" class="prettyprint code lang-cs">OrdersGrid = new JQGrid<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Columns = new List()<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;new JQGridColumn { DataField = "OrderID", <br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // always set PrimaryKey for Add,Edit,Delete operations<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // if not set, the first column will be assumed as primary key<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; PrimaryKey = true,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Editable = false,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Width = 50 },</pre>
<pre id="modelContent" class="prettyprint code lang-cs"><span style="white-space: pre;">				</span>    <strong> new JQGridColumn { c =&#62; c.RenderPartial("OrderDetails", Model.Order) }</strong></pre>
<pre id="modelContent" class="prettyprint code lang-cs">}</pre>
]]></description>
        	        	<pubDate>Fri, 06 Aug 2010 03:52:05 +0300</pubDate>
        </item>
</channel>
</rss>