<?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: Customizing elements on a modal dialog?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/customizing-elements-on-a-modal-dialog</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/customizing-elements-on-a-modal-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>xjoaniex on Customizing elements on a modal dialog?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customizing-elements-on-a-modal-dialog#p29080</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customizing-elements-on-a-modal-dialog#p29080</guid>
        	        	<description><![CDATA[<p>I figured it out!</p>
</p>
<p>To make it multiline use the edittype textarea, set the number of rows in the editoptions.</p>
<p>To change the width of the textarea, set the number of columns (cols) in the editoptions.</p>
</p>
<p>$grid-&#62;setColProperty("RiskDescr", array("label"=&#62;"Risk Description", "width"=&#62;235, <strong><span style="color: #ff0000;">"edittype"=&#62;"textarea"</span></strong>, "editoptions"=&#62;array(<span style="color: #ff0000;"><strong>"rows"=&#62;5</strong></span>, <span style="color: #ff0000;"><strong>"cols"=&#62;100</strong></span>, "placeholder"=&#62;"&#8211; Enter a Risk Description &#8211;"), "editrules"=&#62;array("required"=&#62;true), "searchoptions"=&#62;array("sopt"=&#62;array("cn"))));</p></p>
]]></description>
        	        	<pubDate>Fri, 28 Jun 2013 21:00:47 +0300</pubDate>
        </item>
        <item>
        	<title>xjoaniex on Customizing elements on a modal dialog?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customizing-elements-on-a-modal-dialog#p29073</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customizing-elements-on-a-modal-dialog#p29073</guid>
        	        	<description><![CDATA[<p>I am new to web programming. &#160;</p>
<p>I am using jqGrid. &#160;I have the grid functioning and have an add dialog working.</p>
</p>
<p>I would like to change some of the attributes of the elements on the modal dialog.</p>
</p>
<p>For instance: &#160;I have a text box for a description field. &#160;I would like this box to show up with multiple lines and wrap the data.</p>
<p>From my research I think that there is probably an editoption that would accomplish this but the documentation on editoptions does not appear to be complete. &#160;</p>
</p>
<p>The documentation says:</p>
<p><em>In this case you can set any other valid attribute for the editable element. For example, if the element is edittype:&#39;text&#39;, we can set size, maxlength, etc. attributes. Refer to the valid attributes for the element</em></p>
<p>but I can&#39;t seem to find documentation on what the valid attributes are for the element type textbox.</p>
</p>
<p>I have been able to change the width using the size attribute. &#160;I have tried using height as an attribute but that doesn&#39;t work.</p>
</p>
<p>Any help would be greatly appreciated.</p>
]]></description>
        	        	<pubDate>Fri, 28 Jun 2013 00:21:12 +0300</pubDate>
        </item>
</channel>
</rss>