<?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: ADD, EDIT, DEL... Buttons not appear, please help</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/add-edit-del-buttons-not-appear-please-help</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/add-edit-del-buttons-not-appear-please-help/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>keath on ADD, EDIT, DEL... Buttons not appear, please help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-edit-del-buttons-not-appear-please-help#p21651</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-edit-del-buttons-not-appear-please-help#p21651</guid>
        	        	<description><![CDATA[<p>Hallo,</p>
<p>i&#180;m not able to get the ADD, EDIT, DEL Buttons to appear.</p>
<p>this is the code i have got right now:</p>
<p>$("#google-tracker-grid-urls").jqGrid( {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url : &#39;user.controller.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//data : mydata,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype : "JSON",<br />&#160;&#160; &#160;&#160;&#160; &#160; mtype : &#39;POST&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; imgpath:&#39;/css/custom-theme/images&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; loadError: function(xhr,status,error){alert(status+" "+error);},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; postData : {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#39;load&#39; : $.toJSON(lo.load_url_list())<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160; jsonReader : {<br />&#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; repeatitems:false<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160; //jQuery(&#39;#$jqgrid&#39;).editRow(id, true);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;//console.log(&#39;selected&#39;+id+&#39; &#39;+lastSel);<br />//&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; if(id &#38;&#38; id==lastSel){ <br />//&#160;&#160; &#160; &#160;&#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;&#160; }<br />//&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; lastSel=id;<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; ondblClickRow: function(id){&#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;&#160;&#160;&#160;&#160; jQuery(&#39;#google-tracker-grid-urls&#39;).editGridRow(id, 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; lastSel=id;<br />&#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;colNames : [ &#39;id&#39;, &#39;url&#39;, &#39;user_id&#39;, &#39;timestamp&#39; ],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel : [ {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;name : &#39;id&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;index : &#39;id&#39;, width:150,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; sorttype:&#39;int&#39;,editable:true,key:true<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}, {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;name : &#39;url&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;index : &#39;url&#39;,width:150,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; sortable:false,editable:true<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}, {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;name : &#39;user_id&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;index : &#39;user_id&#39;,width:150,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; sorttype:&#39;int&#39;,editable:true<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}, {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;name : &#39;timestamp&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;index : &#39;timestamp&#39;,width:150,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sorttype:&#39;date&#39;,editable:true<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} ],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;altRows: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;multiselect: true, rowNum:10, rowTotal: 50, rowList:[10,20,30], pager: &#39;#pg_pcrud&#39;, sortname: &#39;id&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;loadonce: true, viewrecords: true, sortorder: "desc"<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//editurl: &#39;user.controller.php&#39;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});<br />&#160;&#160; &#160;});$("#google-tracker-grid-urls").jqGrid(&#39;navGrid&#39;, &#39;#pg_pcrud&#39;, { edit: true, add: false, del: true, search: false });</p>
</p>
<p>The classes for example "ui-icon-refresh" are working, if i add this to an element manually, the refresh button appears.</p>
<p>I&#180;m using jqGrid&#160; 3.8.2.</p>
<p>Please help, i&#180;m trying for hours now, i just don&#180;t know whats wrong.</p>
]]></description>
        	        	<pubDate>Thu, 13 Jan 2011 05:44:04 +0200</pubDate>
        </item>
</channel>
</rss>