<?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 : Problem Sorting Column in Virtual Mode</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Problem Sorting Column in Virtual Mode]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 04:28:01 +0000</pubDate>
  <lastBuildDate>Tue, 27 Apr 2010 12:29:24 +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=16630</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[Problem Sorting Column in Virtual Mode : Thanks fo your response. I will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58235&amp;title=problem-sorting-column-in-virtual-mode#58235</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2961">Setiawan</a><br /><strong>Subject:</strong> 16630<br /><strong>Posted:</strong> 27 April 2010 at 12:29pm<br /><br />Thanks fo your response. I will try ...]]>
   </description>
   <pubDate>Tue, 27 Apr 2010 12:29:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58235&amp;title=problem-sorting-column-in-virtual-mode#58235</guid>
  </item> 
  <item>
   <title><![CDATA[Problem Sorting Column in Virtual Mode : Hi,  Your &amp;#034;trouble&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58208&amp;title=problem-sorting-column-in-virtual-mode#58208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16630<br /><strong>Posted:</strong> 26 April 2010 at 12:19pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Your "trouble" is what we all <strong>wish</strong> to have with virtual report...&nbsp;&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The case is that you can't have:</DIV><OL><LI>Sorting</LI><LI>Grouping</LI></OL><P>in virtual mode. The only thing you do have is: SPEED and some nice options to change contents&nbsp;of ReportItem in BeforeDrawRow event.</P><DIV>If you want sorting you have to do it yourself...&nbsp;You could sort your array&nbsp;(clicking&nbsp;column and BeforeDrawRow event will take care of the rest) or load array into&nbsp;a recordset and create&nbsp;SQL string to sort recordset. There are lot of options but not with ReportControl itself.</DIV><DIV>&nbsp;</DIV><DIV>Try to search forum with virtualmode, there are a lot of samples and discussions <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>See also Samples subforum</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 26 Apr 2010 12:19:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58208&amp;title=problem-sorting-column-in-virtual-mode#58208</guid>
  </item> 
  <item>
   <title><![CDATA[Problem Sorting Column in Virtual Mode : I&amp;#039;m having trouble using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58197&amp;title=problem-sorting-column-in-virtual-mode#58197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2961">Setiawan</a><br /><strong>Subject:</strong> 16630<br /><strong>Posted:</strong> 25 April 2010 at 12:49pm<br /><br />I'm having trouble using CJ ReportControl with Virtual Mode. I have 15.000 records stored internally in multidimensional Array. I'm using VirtualMode to display all record (<img src="http://forum.codejock.com/smileys/smiley32.gif" border="0">&nbsp;amazing speed).&nbsp; But when I click on a column the sorting didn't work. Anyone can help me?<DIV>&nbsp;</DIV><DIV>I'm using VB 6.0 and CJ ActiveX 13.3.1 Thanks before ...</DIV><DIV>&nbsp;</DIV><DIV><U>Illustration</U></DIV><DIV>&nbsp;</DIV><DIV><strong>Form Load :</strong> </DIV><DIV>&nbsp;</DIV><DIV>Dim Column As ReportColumn</DIV><DIV>&nbsp;</DIV><DIV>Set Column = wndReportControl.Columns.Add(0, "Column 1", 50, True) ' Number</DIV><DIV>Set Column = wndReportControl.Columns.Add(1, "Column 2", 100, True) ' String<BR>Set Column = wndReportControl.Columns.Add(2, "Column 3", 100, True) ' Date<BR>Set Column = wndReportControl.Columns.Add(3, "Column 4", 100, True) ' String<BR>Set Column = wndReportControl.Columns.Add(4, "Column 5", 200, True) ' String</DIV><DIV>&nbsp;</DIV><DIV><strong>Command Bar (Load Data)&nbsp; :</strong></DIV><DIV>&nbsp;</DIV><DIV>ReDim dimension(0 To TotalRecord, 4)</DIV><DIV>...</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>wndReportControl.SetVirtualMode TotalRecord, 5</DIV><DIV>wndReportControl.Populate<BR>wndReportControl.SetCustomDraw xtpCustomBeforeDrawRow</DIV><DIV>&nbsp;</DIV><DIV><strong>wndReportControl_BeforeDrawRow</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Dim RowIndex As Long<BR></DIV><DIV>RowIndex = row.Index</DIV><DIV>Metrics.Text = dimensi(RowIndex, Item.Index)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 25 Apr 2010 12:49:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16630&amp;PID=58197&amp;title=problem-sorting-column-in-virtual-mode#58197</guid>
  </item> 
 </channel>
</rss>