<?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: afterComplete  refresh - IE vs FF</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/aftercomplete-refresh-ie-vs-ff</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/aftercomplete-refresh-ie-vs-ff/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>akremedy on afterComplete  refresh - IE vs FF</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/aftercomplete-refresh-ie-vs-ff#p5345</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/aftercomplete-refresh-ie-vs-ff#p5345</guid>
        	        	<description><![CDATA[<p>Hi, can someone tell me if, perhaps, there is a better way to handle this?&#160; I&#39;m displaying a grid as a subgrid, from the subgrid, I pop up a dialog with a &#60;select&#62; field.&#160; The &#60;select&#62; options are generated dynamically onInitializeForm.&#160; The idea is, as each option is selected and submitted, the &#60;select&#62; will be updated so that it no longer includes that option using afterSubmit.&#160; This all works great in Firefox (oops, maybe not), but the behavior is very erratic in IE7.&#160;</p>
<p>Actually, I just noticed that the integrity of the &#60;select&#62; can be broken easily by opening two subgrids, and alternating adding and deleting entries via the &#60;select&#62;.&#160; I&#39;m not completely sure, but beforeInitData seems to be handling this better than initializeForm...but only in FF.</p>
<p>Using version 3.4.2:</p>
<p>&#60;script type=&#8221;text/javascript&#8221;&#62;<br />jQuery(document).ready(function(){<br />&#160;&#160; &#160;jQuery(&#8221;#users_tbl&#8221;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: &#39;Users&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel :[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;uid&#39;, index:&#39;uid&#39;, width:40, align:&#39;center&#39;,editable:false,editoptions:{readonly:true,size:10}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;uusrstatus&#39;, index:&#39;uusrstatus&#39;, width: 70, align:&#39;center&#39;,editable:true,edittype:"checkbox",editoptions:{value:"yes:no"}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;uuser&#39;, index:&#39;uuser&#39;, width: 100, editable:true,editoptions:{size:27}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;upass&#39;, index:&#39;upass&#39;, width: 100, editable:true,editoptions:{size:27},edittype:"password",editrules:{edithidden:true,searchhidden:true},hidden:true,hidedlg:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;uname&#39;, index:&#39;uname&#39;, width: 200, editable:true,editoptions:{size:27}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;uemail&#39;, index:&#39;uemail&#39;, width: 200, editable:true,editoptions:{size:27},editrules:{email:true}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;udate&#39;, index:&#39;udate&#39;, width:120, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;ulastlog&#39;, index:&#39;ulastlog&#39;, width:120, hidden:true}<br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;ID&#39;,&#39;Enabled&#39;,&#39;Login&#39;,&#39;Password&#39;,&#39;Full Name&#39;,&#39;Email&#39;,&#39;Created&#39;,&#39;Last Login&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;xml&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;forceFit: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;height: 220,<br />&#160;&#160; &#160;&#160;&#160; &#160;imgpath: &#39;.assets/css/images&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;onHeaderClick:function(gridstate) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(gridstate == &#39;hidden&#39;) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#8221;#groups_tbl&#8221;).setGridHeight(&#39;487px&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#8221;#groups_tbl&#8221;).setGridHeight(&#39;220px&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: jQuery(&#39;#users_tbl_nav&#39;),<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10, rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;shrinkToFit: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;uid&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortorder: &#39;asc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;subGrid: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;subGridRowColapsed:function(subgrid_id, row_id) {<br />&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;subGridRowExpanded:function(subgrid_id, row_id) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var subgrid_table_id, pager_id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;subgrid_table_id = subgrid_id+&#8221;_t&#8221;;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;pager_id = &#8220;p_&#8221;+subgrid_table_id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$(&#8221;#&#8221;+subgrid_id).html(&#8221;&#60;div style=&#39;border:1px solid #ccc; border-bottom:1px solid #999;&#39;&#62;&#60;table id=&#39;&#8221;+subgrid_table_id+&#8221;&#39; class=&#39;scroll&#39;&#62;&#60;/table&#62;&#60;div id=&#39;&#8221;+pager_id+&#8221;&#39; class=&#39;scroll&#39; style=&#39;text-align:center;&#39;&#62;&#60;/div&#62;&#60;/div&#62;&#8221;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#8221;#&#8221;+subgrid_table_id).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype:&#8221;xml&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel: [<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:"uid",index:"uid",width:40,align:&#39;center&#39;,hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:"gid",index:"gid",width:40,align:&#39;center&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:"gname",index:"gname",width:60,editable:true,edittype:"select",editoptions:{value:":"}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:"gdescrip",index:"gdescrip"},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:"date",index:"date",width:80}<br />&#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;colNames: [&#39;User ID&#39;,&#39;Group ID&#39;,&#39;Group Name&#39;,&#39;Description&#39;,&#39;Added Into Group&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;editurl:&#39;.assets/admin_access_useraccesstbl.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;height:&#8221;100%&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;imgpath:&#8221;.assets/css/images&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;pager:pager_id,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortname:&#39;gid&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortorder:&#39;asc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url:&#8221;.assets/admin_access_useraccesstbl.php?oper=selg&#38;id=&#8221;+row_id,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;width: 700<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}).navGrid(&#8221;#&#8221;+pager_id,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{edit:false,search:false},<br />&#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;{mtype:&#39;POST&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; addCaption:&#39;Add User to Group&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;onInitializeForm:function(formid){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;uid=row_id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$.ajax({<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url:&#8221;.assets/admin_access_usertbl.php?oper=grpsel&#38;uid=&#8221;+uid,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype:&#8221;script&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype:&#8221;POST&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;success:function(response) {<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;$(&#39;#gname&#39;,formid).empty().html(response);<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;})<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;onclickSubmit:function(formid){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var retarr = {};<br />//&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var sr=jQuery(&#8221;#&#8221;+subgrid_table_id).getGridParam(&#39;selrow&#39;);<br />//&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;rowData=jQuery(&#8221;#&#8221;+subgrid_table_id).getRowData(sr);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;this.addData={&#8221;uid&#8221;:row_id};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;retarr={&#8221;uid&#8221;:row_id};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return retarr;<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;afterComplete:function(formid){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;uid=row_id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$.ajax({<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url:&#8221;.assets/admin_access_usertbl.php?oper=grpsel&#38;uid=&#8221;+uid,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype:&#8221;script&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype:&#8221;POST&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;success:function(response) {<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;$(&#39;#gname&#39;).children().remove().end().html(response);<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;})<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;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{mtype:&#39;POST&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; caption:&#39;Delete User From Group&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;onclickSubmit:function(){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var sr=jQuery(&#8221;#&#8221;+subgrid_table_id).getGridParam(&#39;selrow&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var rowData=jQuery(&#8221;#&#8221;+subgrid_table_id).getRowData(sr);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;this.delData={&#8221;uid&#8221;:rowData[&#39;uid&#39;],&#8221;gid&#8221;:rowData[&#39;gid&#39;]};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;retarr={&#8221;uid&#8221;:rowData[&#39;uid&#39;],&#8221;gid&#8221;:rowData[&#39;gid&#39;]};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return retarr;<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;afterComplete:function(formid){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;uid=row_id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$.ajax({<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url:&#8221;.assets/admin_access_usertbl.php?oper=grpsel&#38;uid=&#8221;+uid,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype:&#8221;script&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype:&#8221;POST&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;success:function(response) {<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;$(&#39;#gname&#39;).children().remove().end().html(response);<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;})<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;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;)<br />&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;url:&#39;.assets/admin_access_usertbl.php?oper=sel&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;width: 703<br />&#160;&#160; &#160;}).navGrid(&#39;#users_tbl_nav&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;{},<br />&#160;&#160; &#160;&#160;&#160; &#160;{editCaption:&#39;Edit User&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; height:280,<br />&#160;&#160; &#160;&#160;&#160; &#160; reloadAfterSubmit:false,<br />&#160;&#160; &#160;&#160;&#160; &#160; url:&#39;.assets/admin_access_usertbl.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; afterShowForm:function(formid){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; jQuery(&#8221;#upass&#8221;,formid).val(&#8221;");<br />&#160;&#160; &#160;&#160;&#160; &#160; }<br />&#160;&#160; &#160;&#160;&#160; &#160; },<br />&#160;&#160; &#160;&#160;&#160; &#160;{addCaption:&#39;Add User&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; height:280,<br />&#160;&#160; &#160;&#160;&#160; &#160; reloadAfterSubmit:true,<br />&#160;&#160; &#160;&#160;&#160; &#160; url:&#39;.assets/admin_access_usertbl.php&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;{caption:&#39;Delete User&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160; reloadAfterSubmit:false,<br />&#160;&#160; &#160;&#160;&#160; &#160; url:&#39;.assets/admin_access_usertbl.php&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;{}<br />&#160;&#160; &#160;).navButtonAdd(&#8221;#users_tbl_nav&#8221;,<br />&#160;&#160; &#160;{caption:&#39;&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;buttonimg:&#39;.assets/css/images/grid_cols.gif&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;onClickButton:function(){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#8221;#users_tbl&#8221;).setColumns({height:280,width:280});<br />&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;position:&#8221;last&#8221;,<br />&#160;&#160; &#160;&#160;&#160; &#160;title:&#39;Select columns&#39;<br />&#160;&#160; &#160;});<br />});<br />&#60;/script&#62;</p>
<p>P.S.: Thanks Tony for such a fine piece of work!&#160; jqGrid makes up about 90% of the app I&#39;m working on - I&#39;d be lost without it.</p>
<p>Adam</p>
]]></description>
        	        	<pubDate>Sat, 14 Mar 2009 02:50:21 +0200</pubDate>
        </item>
</channel>
</rss>