<?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: New to JQUERY</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/new-to-jquery</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/new-to-jquery/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>srikant on New to JQUERY</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/new-to-jquery#p18869</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/new-to-jquery#p18869</guid>
        	        	<description><![CDATA[<p>I tried this way and it doesnt work</p>
</p>
<p>&#60;!doctype html&#62;<br />&#60;html&#62;<br />&#160; &#60;head&#62;<br />&#160;&#160;&#160;</p>
<p>&#160;&#160; &#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62; <br />&#160;&#160; &#60;script src="js/jquery-1.4.2.min.js" type="text/javascript"&#62;&#60;/script&#62; <br />&#160;&#160; &#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160; $(document).ready(function(){<br />&#160;&#160; $("a").click(function(event){<br />&#160;&#160;&#160;&#160; alert("As you can see, the link no longer took you to jquery.com");<br />&#160;&#160;&#160;&#160; event.preventDefault();<br />&#160;&#160; });</p>
<p>&#160;});<br />&#160;&#160; <br />&#160;jQuery("#list4").jqGrid({<br />&#160;datatype: "local",<br />&#160;height: 250,<br />&#160;&#160; &#160;colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:60, sorttype:"int"},<br />&#160;&#160; &#160;&#160;{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, sorttype:"date"},<br />&#160;&#160; &#160;&#160;{name:&#39;name&#39;,index:&#39;name&#39;, width:100},<br />&#160;&#160; &#160;&#160;{name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right",sorttype:"float"},<br />&#160;&#160; &#160;&#160;{name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right",sorttype:"float"},&#160;&#160;<br />&#160;&#160; &#160;&#160;{name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right",sorttype:"float"},&#160;&#160;<br />&#160;&#160; &#160;&#160;{name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false}&#160;&#160;<br />&#160;&#160; &#160;],<br />&#160;&#160; &#160;multiselect: true,<br />&#160;&#160; &#160;caption: "Manipulating Array Data"<br />});<br />var mydata = [<br />&#160;&#160;{id:"1",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},<br />&#160;&#160;{id:"2",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},<br />&#160;&#160;{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},<br />&#160;&#160;{id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},<br />&#160;&#160;{id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},<br />&#160;&#160;{id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},<br />&#160;&#160;{id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},<br />&#160;&#160;{id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},<br />&#160;&#160;{id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}<br />&#160;&#160;];<br />for(var i=0;i&#60;=mydata.length;i++)<br />&#160;jQuery("#list4").jqGrid(&#39;addRowData&#39;,i+1,mydata[i]);</p>
</p>
<p>&#160;&#160;&#160; &#60;/script&#62;<br />&#160; &#60;/head&#62;<br />&#160; &#60;body&#62;<br />&#160;&#160;&#160; &#60;a href="<a href="http://jquery.com/%22%3EjQuery%3C/a" target="_blank"></a><a href="http://jquery.com/" rel="nofollow" target="_blank">http://jquery.com/</a>"&#62;jQuery&#60;/a&#62;</p>
<p>&#160;&#160; &#60;table id="list4"&#62;sfsdf&#60;/table&#62;</p>
<p>&#160; &#60;/body&#62;<br />&#60;/html&#62;</p>
]]></description>
        	        	<pubDate>Thu, 29 Jul 2010 22:37:20 +0300</pubDate>
        </item>
        <item>
        	<title>srikant on New to JQUERY</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/new-to-jquery#p18868</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/new-to-jquery#p18868</guid>
        	        	<description><![CDATA[<p>How to load Grid using Array..what software I need to install</p>
]]></description>
        	        	<pubDate>Thu, 29 Jul 2010 22:35:45 +0300</pubDate>
        </item>
</channel>
</rss>