<?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: info_dialog don't use rtl setting of the grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/info_dialog-dont-use-rtl-setting-of-the-grid</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/info_dialog-dont-use-rtl-setting-of-the-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on info_dialog don't use rtl setting of the grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/info_dialog-dont-use-rtl-setting-of-the-grid#p28709</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/info_dialog-dont-use-rtl-setting-of-the-grid#p28709</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>the current implementation of <strong>createModal</strong> uses dir attribute of gbox as the main criteria whether one need use rtl or not. See <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.common.js#L53" target="_blank">the line</a>&#160;of <strong>createModal</strong>:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3504' value='Select Code' data-codeid='sfcode3504' /></p>
<div class='sfcode' id='sfcode3504'>rtlsup = $(p.gbox).attr(&#34;dir&#34;) == &#34;rtl&#34; ? true : false;</div>
<p>The method <strong>info_dialog</strong> forward it&#39;s option <strong>mopt</strong> to <strong>createModal</strong>.&#160;On the other side the calls of <strong>info_dialog</strong>&#160;in jqGrid code don&#39;t specify mostly <strong>gbox</strong> option. See <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.common.js#L470-L472" target="_blank">the lines</a>, <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.celledit.js#L180-L182" target="_blank">the lines</a>,&#160;<a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.celledit.js#L239" target="_blank">the line</a>, <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.celledit.js#L252" target="_blank">the line</a>&#160;and so on. To fix the problem one can add <strong>gbox</strong>&#160;option in all calls of <strong>info_dialog</strong>.</p>
<p>So for example the title of messages created with respect of <strong>info_dialog</strong>&#160;don&#39;t have rtl&#160;style like other dialogs created by jqGrid.</p>
<p>Best regards<br />Oleg</p></p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 12:09:54 +0300</pubDate>
        </item>
</channel>
</rss>