<?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 - Forum: Bugs</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs</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/bugs/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>admin on jqGrid Forum is moved</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-forum-is-moved-3#p31466</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-forum-is-moved-3#p31466</guid>
        	        	<description><![CDATA[<p>Hello All,</p>
<p>Â </p>
<p>We have a lot of changes inside Trirand. You may need to read this <a href="http://www.trirand.com/blog/?p=1438" target="_blank">post</a></p>
<p>The forum is moved to another place.. All the existing users and forum posts are moved successfully in our new side <a href="http://guriddo.net/?page_id=4" target="_blank">guriddo.net </a></p>
<p>In the future, please post your questions and problems in the new place.</p>
<p>The existing forum will stay and willÂ  be in read-only mode.</p>
<p>Â </p>
<p>Kind Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2014 15:46:57 +0200</pubDate>
        </item>
        <item>
        	<title>0xFF on Problem when using multiselect with cellEdit after upgrade to 4.7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-when-using-multiselect-with-celledit-after-upgrade-to-4-7#p31461</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-when-using-multiselect-with-celledit-after-upgrade-to-4-7#p31461</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>After upgrade from 4.6 to jqGrid 4.7, I found there is problem with multiselect option when cellEdit is enabled.</p>
<p>I Can't select row by checkbox clicking. Nothing happens. To select I have to click few pixels out of the checkbox picture.</p>
<p>Select all checkbox works fine.</p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2014 11:01:02 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31459</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31459</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>I posted <a href="https://github.com/tonytomov/jqGrid/pull/669" target="_blank">the pull request</a>Â which contains the changes inÂ <strong>addJSONData</strong> andÂ <strong>normalizeData</strong> required to fix problem with the usage <strong>key:true</strong> in combination with the reader (<strong>jsonReader</strong> or <strong>localReader</strong>) havingÂ <strong>repeatitems:true</strong>.</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/jquery.jqGrid-4.7.0/js/jquery.jqGrid.src-id.js" target="_blank">Here</a>Â is the modified version ofÂ <strong>jquery.jqGrid.src.js</strong>.</p>
<p>The problem come after you changed oldÂ <strong>keyIndex</strong> option toÂ <strong>keyName</strong>. It was doneÂ to fix problem with non-updatedÂ <strong>keyIndex</strong> option after resorting columns in jqGrid (by usage <strong>columnChooser</strong> or dragÂ andÂ drop of column headers in case of the usage <strong>sortable:true</strong>).</p>
<p>I hope that I tested all possible cases.</p>
<p>Best regards<br />
 Oleg</p>
]]></description>
        	        	<pubDate>Sun, 14 Dec 2014 02:16:44 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31458</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31458</guid>
        	        	<description><![CDATA[<p>I'll use the formatter: "select" and change the stored procedures to return the ids. I also will use the workaround till the bug is fixed.</p>
<p>By the way, byÂ inspectingÂ your code I found I'm setting some properties that aren't needed as sorttype:text and index.</p>
<p>Thanks for your help Oleg!</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 21:53:00 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31457</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31457</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>usage of demos simplifyÂ all. The reason of the problem with sending wrongÂ <strong>idCity</strong> - the rowids of the grid will be wrong assigned. It's a bug in jqGrid. The bug exists in combination ofÂ the usage ofÂ arrays of strings as the input value of rowÂ likeÂ <strong>["13570","Some name 1","Australia"]</strong>Â and the usage of <strong>key:true</strong> property in <strong>colModel</strong>. I will post later to github my suggestion how to fix the problem. As the workaround I suggest you to addÂ <strong>jsonReader : {id: 0}</strong> option and removeÂ <strong>key:true</strong> property from the first columnÂ definition.Â </p>
<p>SeeÂ <a href="http://jsfiddle.net/OlegKi/d26hzhu6/3/" target="_blank">http://jsfiddle.net/OlegKi/d26hzhu6/3/</a></p>
<p>About the problem with the requirement to postÂ idCity=3 instead ofÂ the text "Australia" I wrote you two times before. You used wrong configuration which worked in old versions of jqGrid, but the but are fixed some years ago (probably in the version 4.4.5). So you should decide whether you want that jqGrid hold values like 1,2,3 inÂ idCity column (and displays still the texts "London", "Washington", "Australia") or you use the textsÂ "London", "Washington", "Australia" in the data. In the first case youÂ the communication with the server will be in idsÂ 1,2,3, but the values have to be used in both input of grid and the output. Exactly the example I used in the modified demo. Alternatively you can fill jqGrid with the data likeÂ "London", "Washington", "Australia", but exactly the same data will be send to the server during editing.</p>
<p>You still can useÂ serializeEditData to remap any standard values likeÂ "London", "Washington", "Australia" toÂ 1,2,3 or on the contrary, but I don't recommend you to do so because I personally find such kind on communication transfer non-consequent.</p>
<p>Best regards<br />
Oleg</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 21:06:27 +0200</pubDate>
        </item>
        <item>
        	<title>office_rat on ajaxDelOptions is not working properly in 4.6 &#38; 4.7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/ajaxdeloptions-is-not-working-properly-in-4-6-4-7#p31455</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/ajaxdeloptions-is-not-working-properly-in-4-6-4-7#p31455</guid>
        	        	<description><![CDATA[<p>Hey there.</p>
<p>I've noticed ajaxDelOptions (when press "Delete" button for row) is not working properly.</p>
<p>Please see my js-code below:</p>
<div class="sfcode">
<pre class="brush-javascript syntax">$SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions = new Object();
Â Â Â Â Â Â Â  $SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions.beforeSend = function(event, jqXHR) {
Â Â Â Â Â Â Â Â Â Â Â  return SchemaAttributeGridBeforeEditDelete(event, jqXHR);
Â Â Â Â Â Â Â  }</pre></div><p>And following code for "Edit" button is working properly (in same manner):</p>
<div class="sfcode">
<pre class="brush-javascript syntax">Â Â Â Â Â Â Â  
$SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions = new Object();
$SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions.beforeSend = function(event, jqXHR) {
Â Â Â Â Â Â Â Â Â Â Â  return SchemaAttributeGridBeforeEditDelete(event, jqXHR);
Â Â Â Â Â Â Â  }</pre></div><pre class="brush-javascript syntax">ajaxDelOptions have only declaration (line #8450) and usage code (line #8592).<br />
I think in some place inside of method delGridRow (for example #8460) should be following line:</p>
<div class="sfcode">
<pre class="brush-javascript syntax">rp_ge[$t.p.id].ajaxDelOptions = $t.p.ajaxDelOptions !== undefined ?</pre></div><p> class="brush-javascript syntax">$t[0].p.ajaxDelOptions : {}</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 17:00:50 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31454</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31454</guid>
        	        	<description><![CDATA[<p>Here's the jsfiddle for the issue with prmNames (I removed the hidden:true property for column idPer. In edit form the value is displayed correctly, after saving is replaced by the number of the row):</p>
<p><a href="http://jsfiddle.net/d26hzhu6/2/" rel="nofollow" target="_blank">http://jsfiddle.net/d26hzhu6/2/</a></p>
<p>Notice that if you remove the property id: "idPer" in prmNames this problem is fixed.</p>
<p>Also the same code works correctly in v4.4.4, as you can see in the fiddler used below.</p>
<p>Â </p>
<p>Regarding the issue with the combos:</p>
<p>I was using version 4.4.4. I know it may sound strange, but it was working as I previously explained without formatter:'select':</p>
<p>I retrieve from the DB the text "Australia" for the field "idCity". When opening the edit form, jqgrid will match the text to positionate the combo. After successfull submit (which post idCity=3) the text "Australia" would appear in the grid instead of the value 3.</p>
<p>Here's the jsfiddle using v.4.4.4 exposing the behaviour I mentioned above:</p>
<p><a href="http://jsfiddle.net/Lgy7ae3h/1/" rel="nofollow" target="_blank">http://jsfiddle.net/Lgy7ae3h/1/</a></p>
<p>After comparing the code in formedit I found that in version 4.4.5 some code was removed that provided that functionality (all related to a var name "expost"). I also found the commit of that change:</p>
<p><a href="https://github.com/tonytomov/jqGrid/commit/edb5073b6bd617878221674d201cba060489241c" rel="nofollow" target="_blank">https://github.com/tonytomov/jqGrid/commit/edb5073b6bd617878221674d201cba060489241c</a></p>
<p>Now, how can I update my code to make it work as before but using the new version?. I have more than 20 grids and I would try to avoid to change the stored procedures.</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 16:22:07 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31452</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31452</guid>
        	        	<description><![CDATA[<p>If you have an interest to prepare the jsfiddle demo which uses Ajax you can useÂ <a href="http://jsfiddle.net/OlegKi/ntfw57zm/" rel="nofollow" target="_blank">http://jsfiddle.net/OlegKi/ntfw57zm/</a> as an example.</p>
<p>I can repeat that I think that you use wrong value editoptions:{ value:"1:London;2:Washington;3:Australia"}. You useÂ "Australia" and "Washington"Â in the input data. So you don't use ids in the input data. It means thatÂ editoptions:{ value:"London:London;Washington:Washington;Australia:Australia"} will be correct.</p>
<p>If you do want to use ids in theÂ idCity column you should useÂ [["13570","Some name 1","3"],["34233","Some name2","Washington"]] and</p>
<div class="sfcode">
<pre class="brush-javascript syntax">colNames: ['person', 'idCity'],
colModel: [
    {name:'person', editoptions:{size:39}, width:190},
    {name:'idCity', edittype:'select', formatter:'select', width:90,
        editoptions:{ value:"1:London;2:Washington;3:Australia"}}
],
cmTemplate: {editable:true}</pre></div><p>In the way the data will hold only ids inÂ idCity column but display texts. formatter:'select' do the mapping. Because you useÂ prmNames: {id: "idPer", ...} no hiddenÂ idPer column is required.</p>
<p>Best regards<br />
 Oleg</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 08:28:36 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31451</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31451</guid>
        	        	<description><![CDATA[<p>Here's the jsfiddle:</p>
<p><a href="http://jsfiddle.net/d26hzhu6/" rel="nofollow" target="_blank">http://jsfiddle.net/d26hzhu6/</a></p>
<p>The only thing that is missing is theÂ AjaxÂ response. I found the following example, but I don't know how to use it to replace the Ajax call in jqgrid:</p>
<p>new Request.JSONP({<br />
Â Â Â  url: 'http://jsfiddle.net/echo/jsonp/',<br />
Â Â Â  data: {<br />
Â Â Â Â Â Â Â  text: 'some text',<br />
Â Â Â Â Â Â Â  par1: 'another text'<br />
Â Â Â  },<br />
Â Â Â  onSuccess: function(response) {<br />
Â Â Â Â Â Â Â  show_response(response, $('post'));<br />
Â Â Â  }<br />
}).send();</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2014 03:32:15 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31449</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31449</guid>
        	        	<description><![CDATA[<p>Thanks for your response. I've never used jsfiddle and I don't know how to simulate ajax requests (apparently only POST is supported and I'm using GET). Anyway here's a small demo:</p>
<p>HTML Body:</p>
<p>Â Â Â  &#60;div&#62;<br />
 Â Â  Â Â Â  Â &#60;table id="sampleGrid"&#62;&#60;tr&#62;&#60;td&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;<br />
 Â Â  Â Â Â  Â &#60;div id="pagerSampleGrid"&#62;&#60;/div&#62;Â Â  Â <br />
 Â Â  Â &#60;/div&#62;</p>
<p>Javascript:</p>
<p>Â Â Â  //&#60;![CDATA[<br />
 Â Â Â Â Â Â Â  $(document).ready(function () {Â Â Â Â Â Â Â Â Â Â  Â <br />
 Â Â Â Â Â Â Â Â Â Â Â  setjqGridSettings();<br />
 Â Â Â Â Â Â Â Â Â Â Â  setGridRequirentes();Â Â Â Â Â Â Â Â Â Â  Â <br />
 Â Â Â Â Â Â Â  });</p>
<p>Â Â  Â <br />
 function setjqGridSettings()<br />
 {Â Â  Â <br />
 Â Â Â  $.extend($.jgrid.defaults,<br />
 Â Â Â  {<br />
 Â Â  Â Â Â Â  mtype:"POST",Â  Â Â Â  Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â <br />
 Â Â  Â Â Â Â  datatype: 'json',<br />
 Â Â  Â Â Â Â  ajaxGridOptions: { contentType: "application/json; charset=utf-8" },Â Â  Â <br />
 Â Â  Â Â Â Â  viewrecords: true,<br />
 Â Â  Â Â Â Â  loadonce: true,<br />
 Â Â  Â Â Â Â  gridview: true,<br />
 Â Â  Â Â Â Â  scrollOffset: 0,<br />
 Â Â  Â Â Â Â  autowidth: true,<br />
 Â Â  Â Â Â Â  ignoreCase: true,<br />
 Â Â  Â Â Â Â  jsonReader : {<br />
 Â Â  Â Â Â Â Â Â Â Â  root: "d.rows",<br />
 Â Â  Â Â Â Â Â Â Â Â  page: "d.page",<br />
 Â Â  Â Â Â Â Â Â Â Â  total: "d.total",<br />
 Â Â  Â Â Â Â Â Â Â Â  records: "d.records",<br />
 Â Â  Â Â Â Â Â Â Â Â  cell: ""},<br />
 Â Â  Â Â Â Â  ajaxSelectOptions: { type: "GET", contentType: 'application/json; charset=utf-8' }<br />
 Â Â Â  });</p>
<p>Â Â Â  $.extend($.jgrid.edit,<br />
 Â Â Â  {<br />
 Â Â  Â Â Â Â  ajaxEditOptions: { contentType: "application/json; charset=utf-8" },<br />
 Â Â  Â Â Â Â  closeAfterEdit: true,<br />
 Â Â  Â Â Â Â  closeAfterAdd: true,<br />
 Â Â  Â Â Â Â  closeOnEscape: false,<br />
 Â Â  Â Â Â Â  reloadAfterSubmit: false,<br />
 Â Â  Â Â Â Â  jqModal: false<br />
 Â Â Â  });Â Â  Â <br />
 }Â Â  Â <br />
 Â Â  Â <br />
 function setGridRequirentes()<br />
 {Â Â  Â <br />
 Â Â  Â var modSettings =<br />
 Â Â  Â {<br />
 Â Â  Â Â Â  Â width: 440,<br />
 Â Â  Â Â Â  Â url: 'myUrl.aspx',<br />
 Â Â  Â Â Â  Â serializeEditData: function(postData) {Â Â  Â Â Â  Â Â Â  Â <br />
 Â Â  Â Â Â  Â Â Â  Â console.log(postData)<br />
 Â Â  Â Â Â  Â }Â Â  Â Â Â  Â <br />
 Â Â  Â };</p>
<p>Â Â Â  var sampleData = [<br />
 Â Â Â Â Â Â Â Â Â Â Â  {idPer:"13570", person:"some name 1",idCity:"Washington"},<br />
 Â Â Â Â Â Â Â Â Â Â Â  {idPer:"34233", person:"some name 2",idCity:"Australia"},<br />
 Â Â Â Â Â Â Â  ];Â Â Â Â Â Â  Â Â Â  Â <br />
 Â Â  Â Â Â  Â Â Â  Â <br />
 Â Â  Â $("#sampleGrid").jqGrid({Â Â Â Â Â Â  Â <br />
 Â Â Â Â Â Â Â  //datatype:'local',<br />
 Â Â Â Â Â Â Â  //data: sampleData,<br />
 Â Â  Â Â Â  Â url: "MyPage.aspx/getPeople",Â Â  Â <br />
 Â Â  Â Â Â  Â mtype: "GET",Â Â Â Â Â Â  Â <br />
 Â Â  Â Â Â  Â prmNames: {id: "idPer", search:null, nd : null, page: null, rows: null, sort : null, order : null}, Â <br />
 Â Â  Â Â Â  Â colNames:['idPer', 'person', 'idCity'], Â <br />
 Â Â  Â Â Â  Â colModel:[<br />
 Â Â  Â Â Â  Â Â Â  Â {name:'idPer',index:'idPer', hidden: true, key: true, width:55, editable:true, editrules:{edithidden:false}, sorttype:'int'},<br />
 Â Â  Â Â Â  Â Â Â  Â {name:'person',index:'person', editable:true, editoptions:{size:39}, width:190, sorttype:'text'},<br />
 Â Â  Â Â Â  Â Â Â  Â {name:'idCity',index:'idCity', editable:true, edittype:'select',<br />
 Â Â  Â Â Â  Â Â Â  Â Â Â  Â editoptions:{ value:"1:London;2:Washington;3:Australia"},width:90, sorttype:'text'}],<br />
 Â Â  Â Â Â  Â rowNum:5,<br />
 Â Â  Â Â Â  Â rowList:[5,10,15,20],<br />
 Â Â  Â Â Â  Â pager: '#pagerSampleGrid',Â Â  Â <br />
 Â Â  Â Â Â  Â caption:"Sample Grid"Â Â  Â Â Â  Â <br />
 Â Â  Â });Â Â  Â <br />
 Â <br />
 Â Â  Â $("#sampleGrid").jqGrid('navGrid','#pagerSampleGrid',{edit:true,add:true,del:false,search:false,refresh:false},modSettings);<br />
 }<br />
 Â Â Â  //]]&#62;</p>
<p>Â </p>
<p>The response from my web serviceÂ getPeople is (I'm using the format suggested in jqGrid demos "Data Mapping"-&#62;"Data Optimization" to reduce the size of the response):</p>
<div class="netInfoResponseText netInfoText ">
<pre><code class="wrappedText focusRow">{"d":{"page":1,"total":1,"records":100,"rows":[["13570","Some name 1","Australia"],["34233","Some name</code></pre>
</div>
<p><code class="wrappedText focusRow"> 2","Washington"]]}}</code></p>
<p>In serializeEditData I only get the number of the row instead of the "idPer" value as can be seen in the console.<br />
 Also note that after saving (gives an error since the webservice is not found) for example Australia is replaced by 3.</p>
<p>Thanks for your help</p></p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 19:07:18 +0200</pubDate>
        </item>
        <item>
        	<title>davgino on Resizing ColumnChooser dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31448</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31448</guid>
        	        	<description><![CDATA[<p>I have nextÂ code :</p>
<p>$grid.jqGrid('columnChooser', {<br />
Â  Â  Â  Â  Â  Â  Â  msel_opts: {dividerLocation: 0.5},<br />
Â  Â  Â  Â  Â  Â  Â  width:550,<br />
Â  Â  Â  Â  Â  Â  Â  height:300, Â <strong>for ver. 4.7.0 not work</strong><br />
Â  Â  Â  Â  Â  Â  Â  done : function (perm) {<br />
Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  if (perm) { // ok button<br />
Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  this.jqGrid("remapColumns", perm, true);<br />
Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  $grid.setGridWidth(wscreen-2, true);<br />
Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â }<br />
Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  else { // cancel button</p>
<p>Â  Â  Â  Â  Â  Â  Â  Â }<br />
 }</p>
<p>Â </p>
<p>height:300, Â <strong>for ver. 4.7.0 not work</strong></p>
<p>$grid.setGridWidth(wscreen-2, true);Â <strong>for ver &#60;4.7.0 work ok</strong></p>
<p><strong>but in ver</strong>Â <strong>4.7.0</strong>Â , if scrool vertical is present Â , I Â  modified with $grid.setGridWidth(wscreen<strong>+16</strong>, true);Â </p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 15:53:49 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31447</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31447</guid>
        	        	<description><![CDATA[<p>To fix the problem one have to debug the code. So one needs to have the working demo which uses uncompressed version of jqGridÂ <strong>jquery.jqGrid.src.js</strong> (instead ofÂ <strong>jquery.jqGrid.min.js</strong>). If one can see that wrong information will be posted to the server that one don't need and server part to debug such demo. So please prepare always a working demo if you report the bug.</p>
<p>About the first issue which you report all sounds very strange. You write about "<em>the id's of the combos instead of the text</em>". So you use probably select with options having <em>different</em> value and the text. It seems me wrong if you useÂ <strong>edittype:'select'</strong> and not usesÂ <strong>formatter:'select'</strong>. One usesÂ different values and texts in select options only in the case that one fill the data with ids (values), but one want to display the texts for the user.Â <strong>formatter:'select'</strong> do that. The only disadvantage of the approach is that the formatter have to know the mapping between ids and the texts during filling of the grid. One can't make an additional asynchronous call to the server. So one usesÂ <strong>formatter:'select'</strong> withÂ <strong>editoptions.value</strong>Â instead of usage ofÂ <strong>editoptions.dataUrl</strong>. If one need still build <em>dynamic</em> values ofÂ <strong>editoptions.value</strong> one can set it inside of <strong>beforeProcessing</strong> callback. See <a href="http://stackoverflow.com/a/19427444/315935" target="_blank">the answer</a>Â for more details.</p>
<p>About the problem withÂ the date format you should try to useÂ <strong>reformatAfterEdit: true</strong> option of <strong>formatter: "date"</strong>.</p>
<p>Best regards<br />
Oleg</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 14:24:43 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Resizing ColumnChooser dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31446</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31446</guid>
        	        	<description><![CDATA[<p>Hi davgino,</p>
<p>you can use columnChooser exactly like before. The difference you will see if you resize the dialog. You will see that the elements of the dialog will be resized too.</p>
<p>Best regards<br />
Oleg</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 14:07:23 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31444</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31444</guid>
        	        	<description><![CDATA[<p>With v4.6 problem #2 doesn't occur.</p>
<p>By the way, I also had to change the date format in grid.locale-es, since it's displaying dates as d-m-Y instead of d/m/Y</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 00:57:39 +0200</pubDate>
        </item>
        <item>
        	<title>mdp on Strange behaviour after updating to jqGrid 4.7.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31443</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/strange-behaviour-after-updating-to-jqgrid-4-7-0#p31443</guid>
        	        	<description><![CDATA[<p>After updating from v4.4.4 to v4.7.0 I noticed some things aren't working as before:</p>
<p>1) After saving in form edit, the grid displays the id's of the combos instead of the text.</p>
<p>2) If I set id in prmNames,Â when saving in edit form the row number is set in postdata instead of the actual value.</p>
<p>Â Here's an example of my col model definition:</p>
<p>Â Â prmNames: {id: "idPer", search:null, nd : null, page: null, rows: null, sort : null, order : null},Â Â <br />
Â Â colNames:['idPer', 'person', 'idCity', 'age', 'employee', 'employee 2', 'birth date', 'idGroup', 'Desc','Obs'],Â Â <br />
Â Â colModel:[<br />
Â Â Â {name:'idPer',index:'idPer', hidden: true, key: true, width:55, editable:true, editrules:{edithidden:false}, sorttype:'int'},<br />
Â Â Â {name:'person,index:'person', editable:true, editoptions:{size:39}, width:190, sorttype:'text'},<br />
Â Â Â {name:'idCity',index:'idCity', hidden: true},<br />
Â Â Â {name:'age',index:'age', editable:true, edittype:'select',<br />
Â Â Â Â editoptions:{Â Â <br />
Â Â Â Â Â dataUrl:"myUrl",<br />
Â Â Â Â Â buildSelect: myFunction)<br />
Â Â Â Â Â },Â Â Â Â Â Â Â Â Â Â Â Â <br />
Â Â Â Â Â width:90, sorttype:'text'},Â Â Â Â <br />
Â Â Â {name:'employee',index:'employee', editable:true, edittype:'select', formatter:eFmatter, unformat:eUnFmatter,Â <br />
Â Â Â Â Â width:190, sorttype:'text'},<br />
Â Â Â {name:''employee2',index:''employee2', editable:true, edittype:'select', formatter:eFmatter, unformat:eUnFmatter,Â <br />
Â Â Â Â Â width:190, sorttype:'text'},Â Â Â Â Â Â <br />
Â Â Â {name:'birth',index:'birth', width:90, sorttype:'date', formatter:'date', editable:true},<br />
Â Â Â {name:'idGroup',index:'idGroup', hidden: true},<br />
Â Â Â {name:'desc',index:'desc', width:190, formatter:dFmatter, unformat: dFmatter,editable:true, edittype:'select',<br />
Â Â Â Â Â editoptions:{<br />
Â Â Â Â Â dataUrl:"myurl2",<br />
Â Â Â Â Â buildSelect: myfunction2)<br />
Â Â Â Â Â },Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <br />
Â Â Â Â Â sorttype:'text'},<br />
Â Â Â {name:'obs',index:'obs', width:190, editable:true, sorttype:'text', edittype:'textarea', editoptions:{rows:2, cols:40}}]</p>
<p>Â </p>
<p>Did I missed something with the new releases?</p>
<p>Thanks in advance</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2014 00:44:53 +0200</pubDate>
        </item>
        <item>
        	<title>davgino on Resizing ColumnChooser dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31442</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/resizing-columnchooser-dialog#p31442</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>Please explain how use new columnChooser from ver. 4.7.0</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2014 20:10:39 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in addRowData Method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-addrowdata-method#p31439</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-addrowdata-method#p31439</guid>
        	        	<description><![CDATA[<p>Hi Greg,</p>
<p>I created <a href="https://github.com/tonytomov/jqGrid/pull/669" target="_blank">the pull request</a>Â based on your bug report.</p>
<p>Best regards<br />
 Oleg</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2014 12:19:37 +0200</pubDate>
        </item>
        <item>
        	<title>greg.valainis@pa-tech.com on Bug in addRowData Method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-addrowdata-method#p31436</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-addrowdata-method#p31436</guid>
        	        	<description><![CDATA[<p>EDIT: bad at english and missing ';' after the 'sind = sind.rowIndex + addin' statement</p>
<p>I believe I have found a bug in the addRowData method. Â The bug occurs when using the method with pos = "after" and a subgrid exists below the row you are attempting to insert after. Â First off, when inserting 'row' the .join('') method is not used. Â Second off, the 'sind' is incrementedÂ incorrectly. Â In this case it should be incremented by two, but it is only incremented by one. Â Here is a jsFiddle link to my code:</p>
<p><a href="http://jsfiddle.net/mzrLeqqe/1/" target="_blank">http://jsfiddle.net/mzrLeqqe/1/</a></p>
<p>Used jsFiddle since I didn't really try to make the code formatted in this post. Â Below is a hard copy.</p>
<p>case 'after':<br />
 sind = $(t).jqGrid('getGridRowById', src);<br />
 if (sind) {<br />
 var addin = 1;<br />
 if ($(t.rows[sind.rowIndex + 1]).hasClass("ui-subgrid")) { $(t.rows[sind.rowIndex + 1]).after(row.join('')); addin++; }<br />
 else { $(sind).after(row.join('')); }<br />
 sind = sind.rowIndex + addin;<br />
 }<br />
 break;</p>
<p>Hope this helps.</p>
<p>I believe the version I was using version 4.6 when I discovered this, but it appeared version 4.7 did not have this fixed.</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2014 03:53:57 +0200</pubDate>
        </item>
        <item>
        	<title>ahaha on headers and columns are messed up when colmodel is hidden: 'true'  (jsfiddle included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/headers-and-columns-are-messed-up-when-colmodel-is-hidden-true-jsfiddle-included#p31431</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/headers-and-columns-are-messed-up-when-colmodel-is-hidden-true-jsfiddle-included#p31431</guid>
        	        	<description><![CDATA[<p>Thank You very much for your clarification and suggestion. Yes it was my bad.</p>
]]></description>
        	        	<pubDate>Sun, 07 Dec 2014 11:44:27 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on headers and columns are messed up when colmodel is hidden: 'true'  (jsfiddle included)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/headers-and-columns-are-messed-up-when-colmodel-is-hidden-true-jsfiddle-included#p31430</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/headers-and-columns-are-messed-up-when-colmodel-is-hidden-true-jsfiddle-included#p31430</guid>
        	        	<description><![CDATA[<p>Sorry, but where you get so bad code example!!!??? Please never fill the grid with respect of addRowData. The simplified code which do the same isÂ <a href="http://jsfiddle.net/OlegKi/usqgrnau/3/" rel="nofollow" target="_blank">http://jsfiddle.net/OlegKi/usqgrnau/3/</a>. The problem is that the code of <strong>the example is still buggy</strong>. It uses</p>
<div class="sfcode">
<pre class="brush-javascript syntax">hidden: 'true'</pre></div><p>Â instead of</p>
<div class="sfcode">
<pre class="brush-javascript syntax">hidden: true</pre></div><p>It's not the same values. So <strong>the demo is buggy</strong> and <em>the only problem which I see is that jqGrid generate a little strange looking grid in the case of wrong input data</em>. Nevertheless one can change the code of jqGrid a little to improve the look of results in case of usage wrong type of <strong>hidden</strong> property of <strong>colModel</strong>. One can improve the code of jqGrid by replacingÂ <a href="https://github.com/tonytomov/jqGrid/blob/v4.6.0/js/grid.base.js#L2597" target="_blank">the line</a>Â </p>
<div class="sfcode">
<pre class="brush-javascript syntax">if( ts.p.colModel[j].hidden ) {</pre></div><p>to</p>
<div class="sfcode">
<pre class="brush-javascript syntax">if (ts.p.colModel[j].hidden === true) {</pre></div><p>(like <a href="https://github.com/tonytomov/jqGrid/blob/v4.6.0/js/grid.base.js#L1089" target="_blank">the line</a>Â of <strong>formatCol</strong>Â do) and <a href="https://github.com/tonytomov/jqGrid/blob/v4.6.0/js/grid.base.js#L2483" target="_blank">the line</a>Â </p>
<div class="sfcode">
<pre class="brush-javascript syntax">if(!ts.p.colModel[i].hidden) {</pre></div><p>toÂ </p>
<div class="sfcode">
<pre class="brush-javascript syntax">if (!ts.p.colModel[i].hidden === true) {</pre></div><p>Best regards<br />
Oleg</p>
<p>Â  Â Â </p>
]]></description>
        	        	<pubDate>Sat, 06 Dec 2014 18:56:58 +0200</pubDate>
        </item>
</channel>
</rss>