<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [SOLVED] Sort by code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Sort by code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 00:20:52 +0000</pubDate>
  <lastBuildDate>Thu, 21 Oct 2010 07:54:36 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17210</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[SOLVED] Sort by code : Brillliant. It works. Thank you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61072&amp;title=solved-sort-by-code#61072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 17210<br /><strong>Posted:</strong> 21 October 2010 at 7:54am<br /><br />Brillliant. It works. Thank you Aaron!!]]>
   </description>
   <pubDate>Thu, 21 Oct 2010 07:54:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61072&amp;title=solved-sort-by-code#61072</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Sort by code : Hi, Use SortOrder object... ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61057&amp;title=solved-sort-by-code#61057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17210<br /><strong>Posted:</strong> 20 October 2010 at 10:11am<br /><br /><P>Hi,</P><DIV>Use SortOrder object...</DIV><DIV>&nbsp;</DIV><DIV>Me.wndReportControl.SortOrder.Add Me.wndReportControl.Columns(0)</DIV><DIV>&nbsp;</DIV><DIV>clicking on first column will add that column to SortOrder collection: <strong>Me.wndReportControl.SortOrder(0)</strong>, </DIV><DIV>&nbsp;</DIV><DIV>you can check this in SortOrderChanged event which column was sorted:</DIV><DIV><strong>Debug.Print Me.wndReportControl.SortOrder(0).ItemIndex</strong></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps <img src="https://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 20 Oct 2010 10:11:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61057&amp;title=solved-sort-by-code#61057</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Sort by code : Thank Aaron. I dont get it to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61055&amp;title=solved-sort-by-code#61055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 17210<br /><strong>Posted:</strong> 20 October 2010 at 9:46am<br /><br />Thank Aaron. I dont get it to sort. And I dont want do just sort a filter of the data. I want to sort the whole control. All I want is to do excactly what happens when a user click on a column-header to sort the control on that column. I just want to do it by code (example I add all files in a folder to the control. I add the filename and the filedate and then I want to show the list sorted by date on startup)]]>
   </description>
   <pubDate>Wed, 20 Oct 2010 09:46:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=61055&amp;title=solved-sort-by-code#61055</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Sort by code :  Hi,  you can iterate Columns...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=60163&amp;title=solved-sort-by-code#60163</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17210<br /><strong>Posted:</strong> 13 September 2010 at 10:10am<br /><br /><DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>you can iterate Columns collection and set the desired column filtrable afterwards</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Dim xtremeColumn As XtremeReportControl.ReportColumn<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each xtremeColumn In Me.wndReportControl.Columns<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xtremeColumn.Filtrable =&nbsp;False</strong></DIV><DIV><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next xtremeColumn</strong></DIV><DIV><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></DIV><DIV><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.wndReportControl.Columns.Find(<FONT color=#0000ff>INDEX_OF_DESIRED_COLUMN</FONT>).Filtrable = True</strong></DIV><DIV><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.wndReportControl.Columns.Find(<FONT color=#0000ff>INDEX_OF_DESIRED_COLUMN</FONT>).SortAscending = True or False</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>and set FilterText property to desired text to find</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Me.wndReportControl.FilterText = "a"</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong></strong>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 13 Sep 2010 10:10:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=60163&amp;title=solved-sort-by-code#60163</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Sort by code :   Is it possible, by code, to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=60071&amp;title=solved-sort-by-code#60071</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 17210<br /><strong>Posted:</strong> 06 September 2010 at 7:13am<br /><br />Is it possible, by code, to specify column and sortdirecton, and sort the grid (all in code).]]>
   </description>
   <pubDate>Mon, 06 Sep 2010 07:13:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17210&amp;PID=60071&amp;title=solved-sort-by-code#60071</guid>
  </item> 
 </channel>
</rss>