<?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: Not binding to local data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/not-binding-to-local-data</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/not-binding-to-local-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>David.Sullivan on Not binding to local data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-binding-to-local-data#p25168</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-binding-to-local-data#p25168</guid>
        	        	<description><![CDATA[<p>Trying to use it to display some calculations that I am doing in javascript and cant get it to bind to local data.&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8714' value='Select Code' data-codeid='sfcode8714' /></p>
<div class='sfcode' id='sfcode8714'>
<p>$(&#34;#results&#34;).jqGrid({</p>
<p>data: myData,</p>
<p>datatype: &#34;local&#34;,</p>
<p>height: &#39;auto&#39;,</p>
<p>//rowNum: 30,</p>
<p>//rowList: [10,20,30],</p>
<p>colNames: [&#39;Chain Ring&#39;, &#39;MidDrive Gear&#39;, &#39;MiDrive Output&#39;,</p>
<p>&#39;Sprocket&#39;, &#39;Final Ratio&#39;, &#39;Wheel&#39;,</p>
<p>&#39;Cadence&#39;, &#39;Motive&#39;, &#39;Gear&#39;, &#39;Speed&#39;</p>
<p>],</p>
<p>colModel: [</p>
<p>{ name: &#39;ChainRing&#39;, index: &#39;ChainRing&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Mid Drive Gear&#39;, index: &#39;MidDriveGear&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Mid Drive Output&#39;, index: &#39;MidDriveOutput&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Sprocket&#39;, index: &#39;RearSprocket&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;WheelCircurmfrence&#39;, index: &#39;ChainRing&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Cadence&#39;, index: &#39;Cadence&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Ratio&#39;, index: &#39;GearRatio&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Motive&#39;, index: &#39;Motive&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Gear&#39;, index: &#39;Gear Inch&#39;, sorttype: &#34;float&#34;},</p>
<p>{ name: &#39;Speed&#39;, index: &#39;Speed&#39;, sorttype: &#34;float&#34;}</p>
<p>],</p>
<p>//viewrecords: true,</p>
<p>//sortname: &#39;speed&#39;,</p>
<p>//scroll: true,</p>
<p>//grouping: true,</p>
<p>//groupingView: {</p>
<p>//  groupField: [&#39;ChainRing&#39;]</p>
<p>//},</p>
<p>caption: &#34;&#34;</p>
<p>});</p>
</p>
</div>
<p>What other information is needed?&#160;</p>
<p>Should I be using the source of funciton instead?&#160;</p>
<p><a href="http://jsbin.com/oquxuk/37/edit#javascript,live" rel="nofollow" target="_blank">http://jsbin.com/oquxuk/37/edit#javascript,live</a></p>
]]></description>
        	        	<pubDate>Tue, 15 Nov 2011 20:32:41 +0200</pubDate>
        </item>
</channel>
</rss>