<?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: viewing long fields in grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-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/help/viewing-long-fields-in-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>joseisme on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p9122</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p9122</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thanks, that fixed it.&#160; I appreciate your help.&#160;</p>
<p>Best Regards,</p>
<p>-Jose</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 09:02:36 +0300</pubDate>
        </item>
        <item>
        	<title>tony on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p9088</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p9088</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>See my previous post and modify your style according to what I write.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 04:39:14 +0300</pubDate>
        </item>
        <item>
        	<title>joseisme on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8939</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8939</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>The version of jqgrid is 3.4.4.patched.&#160;&#160;&#160;Browser is IE8 or firefox 3.5.1&#160; The grid is being generated on a ASP.NET MVC page.</p>
<p>Additionally I have posted below the column model, in case that is important.</p>
</p>
<p>Thanks very much,</p>
</p>
<p>Jose</p>
</p>
<p>colModel: [ { name: &#39;ProblemId&#39;, index: &#39;ProblemId&#39;, width: 75, align: &#39;left&#39;, hidden: true },<br />{ name: &#39;ProblemNumber&#39;, index: &#39;ProblemNumber&#39;, width: 110 },<br />{ name: &#39;OnsetDate&#39;, index: &#39;OnsetDate&#39;, width: 150 },<br />// { name: &#39;Problem&#39;, index: &#39;Problem&#39;, width: 350, edittype: &#39;textarea&#39;, editable: true, editoptions: { rows: "4"} },<br />{ name: &#39;Problem&#39;, index: &#39;Problem&#39;, width: 350 }, <br />{ name: &#39;CurrStatus&#39;, index: &#39;CurrStatus&#39;, width: 150, sortable: true },<br />{ name: &#39;CurrStatusDate&#39;, index: &#39;CurrStatusDate&#39;, width: 150, sortable: true }<br />],</p>
]]></description>
        	        	<pubDate>Mon, 24 Aug 2009 09:07:52 +0300</pubDate>
        </item>
        <item>
        	<title>tony on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8618</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8618</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should tell&#160; me which version do you use!</p>
</p>
<p>&#60;style&#62;</p>
<p>table.scroll tbody td&#160; {white-space: normal;}</p>
<p>&#60;/style&#62;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 15 Aug 2009 02:29:27 +0300</pubDate>
        </item>
        <item>
        	<title>joseisme on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8568</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8568</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thanks for the reply, but I am still unable to make the field expand to display the entire content.&#160; Perhaps I am not placing the in-line style in the right place or do not have the proper style sheet files declared.&#160;&#160;Below is&#160;a snippet of source from one of my pages &#8211; what am I missing?&#160;</p>
<p>IE8, jqgrid 3.4</p>
<p>Thanks again.&#160;</p>
<p>-Jose.</p>
</p>
<pre>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;<br />&#60;html xmlns="http://www.w3.org/1999/xhtml"&#62;<br /> <br />&#60;head id="ctl00_Head1"&#62;&#60;title&#62;</pre>
<p>&#60;/title&#62;&#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62;<br />&#60;link href=&#8221;../../Content/Site.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&#62;<br />&#60;link href=&#8221;../../Content/Header.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&#62;<br />&#60;link href=&#8221;../../content/details.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&#62;<br />&#60;link href=&#8221;../../scripts/themes/green/grid.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; title=&#8221;green&#8221; media=&#8221;screen&#8221; /&#62;<br />&#60;link href=&#8221;../../Scripts/themes/sunny/jquery-ui-1.7.2.custom.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&#62;</p>
<p>&#60;script src=&#8221;../../Scripts/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#60;script src=&#8221;../../Scripts/jquery-1.3.2.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#60;script src=&#8221;../../Scripts/jquery-ui-1.7.2.custom.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62; <br />&#60;script src=&#8221;../../Scripts/jquery.jqGrid.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#60;script src=&#8221;../../Scripts/js/jqModal.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#60;script src=&#8221;../../Scripts/js/jqDnR.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#60;script src=&#8221;../../Scripts/js/grid.celledit.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62; </p>
<p>&#60;style type=&#8221;text/css&#8221;&#62;<br />.ui-jqgrid tr.jqgrow td {white-space: normal;}<br />&#60;/style&#62;</p>
<p>&#60;script type=&#8221;text/javascript&#8221;&#62;</p>
<p>&#8230; etc.</p>
<p>jQuery(document).ready( function() <br />{<br />var lastSelected</p>
<p>jQuery(&#8221;#list&#8221;).jqGrid(<br />{<br />url: gridURL ,</p>
<p>&#8230; etc.</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 17:03:48 +0300</pubDate>
        </item>
        <item>
        	<title>tony on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8500</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8500</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1), 2) After loading the jqGrid CSS</p>
<p>&#60;style&#62;</p>
<p>.ui-jqgrid tr.jqgrow td {white-space: normal;}</p>
<p>&#60;/style&#62;</p>
<p>3) The duration of this depends on browser.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 01:34:14 +0300</pubDate>
        </item>
        <item>
        	<title>joseisme on viewing long fields in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8430</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/viewing-long-fields-in-grid#p8430</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I am successfully using jqgrid 3.4 in an asp.net MVC project, even though I am&#160;not&#160;an expert in JavaScript - nice product!&#160; One of the fields in my grid can be up to&#160;250 characters.&#160; I would like to display (read-only) the entire 250 chars in a grid.&#160; By editing the column model like below I am able to show the contents but sorting is lost until I refresh, it is not very attactive, and it confuses users because the think they can edit the content even though it is read-only.</p>
<p><span style="color: #008000; font-size: x-small;"><span style="color: #008000; font-size: x-small;"><br />
</span></span></p>
<p>{ name: &#39;myLongField&#39;, index: &#39;myLongField&#39;, width: 350, edittype: &#39;textarea&#39;, editable: true, editoptions: { rows: "6"} }</p>
</p>
<p>1) Is there a way to display read only text so that&#160;it wraps and&#160;can show the entire field content without vertical scrolling?&#160;</p>
<p>2) Can that be done for all rows so that users can see the long content for all records at the same time without having to expand every record individually?</p>
<p>3) if wrapping read-only text is not possible, can I increase the tooltip display duration?&#160; Hovering exposes the content nicely, but it disappears too quickly (~ 10 seconds) I&#39;d like the tooltip to show until the mouse was moved again.</p>
</p>
<p>Thank you very much.</p>
</p>
<p>Jose.</p>
</p></p>
]]></description>
        	        	<pubDate>Mon, 10 Aug 2009 11:38:26 +0300</pubDate>
        </item>
</channel>
</rss>