<?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: Sort Direction Not Displaying</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying</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/sort-direction-not-displaying/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17587</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17587</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In order to work this you should include the appropriate jQuery UI theme css file.</p>
<p>Refer here for installation:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:how_to_install" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....to_install</a></p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 30 May 2010 13:46:02 +0300</pubDate>
        </item>
        <item>
        	<title>nickka on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17469</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17469</guid>
        	        	<description><![CDATA[<p>I am now investigating that possibility that the reason the sorting icons are not displaying is because I don&#39;t have the icons. For the 3.6 version of jqGrid what css are used to identify the icons and what icons are used?</p>
]]></description>
        	        	<pubDate>Wed, 26 May 2010 20:08:43 +0300</pubDate>
        </item>
        <item>
        	<title>nickka on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17388</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17388</guid>
        	        	<description><![CDATA[<p>Any ideas? suggestions?</p>
]]></description>
        	        	<pubDate>Fri, 21 May 2010 21:45:39 +0300</pubDate>
        </item>
        <item>
        	<title>nickka on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17357</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17357</guid>
        	        	<description><![CDATA[<p>I commented out the following lines:</p>
<p>// $(&#39;.ui-jqgrid .ui-jqgrid-htable th div&#39;).css(&#39;white-space&#39;, &#39;normal&#39;);</p>
<p>// $(".ui-jqgrid-sortable").css(&#39;white-space&#39;, &#39;normal&#39;);</p>
<p>// $(".ui-jqgrid-sortable").css(&#39;height&#39;, &#39;auto&#39;);</p>
<p>//$("#load_serviceCallGridView").show();</p>
<p>//$("#load_serviceCallGridView").css("z-index", 1000);</p>
</p>
<p>This sorting icon is still not displaying.</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 19:47:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17353</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17353</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You modify the sortable CSS property, so I&#39;m not sure you will show it. Try with the original CSS definition.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 19:08:20 +0300</pubDate>
        </item>
        <item>
        	<title>nickka on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17351</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17351</guid>
        	        	<description><![CDATA[<p>I already checked this and the column width are large enough to contain the icons, they are just not appearing. I am callind a WCF web service on the backend.</p>
<p>Here is my entire javascript:</p>
<p>jQuery().ready(function() {</p>
<p>//</p>
<p>// jQGrid Webservice Library v1.0</p>
<p>// <a href="http://skysanders.net/jQGridWS" rel="nofollow" target="_blank">http://skysanders.net/jQGridWS</a></p>
<p>//</p>
<p>jQuery(&#39;#theme-switcher&#39;).themeswitcher();</p>
<p>dataBindToGrid();</p>
<p>function successFunction(jsondata) {</p>
<p>$(&#39;.ui-jqgrid .ui-jqgrid-htable th div&#39;).css(&#39;white-space&#39;, &#39;normal&#39;);</p>
<p>$(".ui-jqgrid-sortable").css(&#39;white-space&#39;, &#39;normal&#39;);</p>
<p>$(".ui-jqgrid-sortable").css(&#39;height&#39;, &#39;auto&#39;);</p>
<p>var thegrid = jQuery("#serviceCallGridView")[0];</p>
<p>thegrid.addJSONData(jsondata.d);</p>
<p>//jQuery("#serviceCallGridView").sortGrid();</p>
<p>}</p>
<p>function getServiceCalls(pdata) {</p>
<p>var params = new Object();</p>
<p>params.page = pdata.page;</p>
<p>params.pageSize = pdata.rows;</p>
<p>params.sortIndex = pdata.sidx;</p>
<p>params.sortDirection = pdata.sord;</p>
<p>$.ajax({</p>
<p>url: "eAccessService.svc/GetServiceCalls?gridParams=" + JSON.stringify(params) + "&#38;custnmbr=0206400&#38;historyDays=50",</p>
<p>//url: "eAccessService.svc/GetServiceCalls?gridParams=" + JSON.stringify(params) + "&#38;custnmbr=" + $(&#39;custnmbr&#39;).value + "&#38;historyDays=" + $(&#39;historyDays&#39;).value,</p>
<p>jsonReader: {</p>
<p>root: "rows", //arry containing actual data</p>
<p>page: "page", //current page</p>
<p>total: "total", //total pages for the query</p>
<p>records: "records", //total number of records</p>
<p>repeatitems: false,</p>
<p>id: "id" //index of the column with the PK in it</p>
<p>},</p>
<p>dataType: "json",</p>
<p>type: "POST",</p>
<p>contentType: "application/json; charset=utf-8",</p>
<p>success: successFunction</p>
<p>});</p>
<p>}</p>
<p>function dataBindToGrid() {</p>
<p>jQuery.extend(jQuery.jgrid.defaults, {</p>
<p>datatype: &#39;json&#39;,</p>
<p>ajaxGridOptions: { contentType: "application/json" },</p>
<p>gridview: true,</p>
<p>rownumbers: false,</p>
<p>sortable: true,</p>
<p>headertitles: true,</p>
<p>viewrecords: true,</p>
<p>emptyrecords: "No records to view",</p>
<p>loadtext: "Loading...",</p>
<p>loadui: &#39;enable&#39;,</p>
<p>sortname: &#39;id&#39;</p>
<p>});</p>
<p>$("#load_serviceCallGridView").show();</p>
<p>//$("#load_serviceCallGridView").css("z-index", 1000);</p>
<p>jQuery("#serviceCallGridView").jqGrid({</p>
<p>datatype: function(pdata) {</p>
<p>getServiceCalls(pdata);</p>
<p>},</p>
<p>caption: "Service Calls",</p>
<p>colNames: [&#39;Srvc Call ID&#39;, &#39;Equip&#39;, &#39;Ref Call ID&#39;, &#39;City&#39;, &#39;ST&#39;, &#39;Problem Type&#39;, &#39;Appt Stat&#39;, &#39;Call Stat&#39;, &#39;Location&#39;],</p>
<p>colModel: [{ name: &#39;SV00300.Service_Call_ID&#39;, index: &#39;SV00300.Service_Call_ID&#39;, width: 180, align: &#39;left&#39;, jsonmap: &#39;Service_Call_ID&#39; },</p>
<p>{ name: &#39;Equipment&#39;, index: &#39;Equipment&#39;, width: 170, align: &#39;left&#39;, jsonmap: &#39;Equipment&#39; },</p>
<p>{ name: &#39;Ref_Call_ID&#39;, index: &#39;Ref_Call_ID&#39;, width: 255, align: &#39;left&#39; },</p>
<p>{ name: &#39;City&#39;, index: &#39;City&#39;, width: 80, align: &#39;left&#39; },</p>
<p>{ name: &#39;State&#39;, index: &#39;State&#39;, width: 25, align: &#39;left&#39; },</p>
<p>{ name: &#39;Type_Of_Problem&#39;, index: &#39;Type_Of_Problem&#39;, width: 200, align: &#39;left&#39; },</p>
<p>{ name: &#39;Appointment_Status&#39;, index: &#39;Appointment_Status&#39;, width: 70, align: &#39;left&#39; },</p>
<p>{ name: &#39;Status_Of_Call&#39;, index: &#39;Status_Of_Call&#39;, width: 70, align: &#39;left&#39; },</p>
<p>{ name: &#39;Location&#39;, index: &#39;Location&#39;, width: 200, align: &#39;left&#39; }</p>
<p>],</p>
<p>rowNum: 10,</p>
<p>rowList: [5, 10, 20, 50, 100],</p>
<p>sortname: &#39;SV00300.Service_Call_ID&#39;,</p>
<p>pager: &#39;#pageNavigation&#39;,</p>
<p>sortorder: "desc",</p>
<p>autowidth: false,</p>
<p>viewrecords: true</p>
<p>});</p>
<p>jQuery("#serviceCallGridView").jqGrid(&#39;navGrid&#39;, &#39;pageNavigation&#39;, { edit: false, add: false, del: false });</p>
<p>}</p>
<p>});</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 19:05:20 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17347</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17347</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The sort icon is not displayed whan the text in the header is bigger than the width. If you resize the sorted column you will see the icon</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 18:38:05 +0300</pubDate>
        </item>
        <item>
        	<title>nickka on Sort Direction Not Displaying</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17321</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-direction-not-displaying#p17321</guid>
        	        	<description><![CDATA[<p>I have sorting working. The sort index and the sort direction is passed to the server side where the query is ran and the results are returned as json data. The problem is that the sort direction is not being displayed in the column header. How do I get the sort direction to appear?</p>
]]></description>
        	        	<pubDate>Wed, 19 May 2010 22:47:08 +0300</pubDate>
        </item>
</channel>
</rss>