<?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 : Virtual mode &amp; Children records</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Virtual mode &amp; Children records]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 05 Jun 2026 19:02:54 +0000</pubDate>
  <lastBuildDate>Fri, 15 Sep 2006 15:06:38 +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=3019</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[Virtual mode &amp; Children records : Are there any plans for the virtual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=15746&amp;title=virtual-mode-children-records#15746</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2302">PierreL</a><br /><strong>Subject:</strong> 3019<br /><strong>Posted:</strong> 15 September 2006 at 3:06pm<br /><br />Are there any plans for the virtual mode to support this tree behavior <img src="http://forum.codejock.com/smileys/smiley25.gif" border="0" align="absmiddle"><br><br>]]>
   </description>
   <pubDate>Fri, 15 Sep 2006 15:06:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=15746&amp;title=virtual-mode-children-records#15746</guid>
  </item> 
  <item>
   <title><![CDATA[Virtual mode &amp; Children records : Visrtual Mode don&amp;#039;t support...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=9025&amp;title=virtual-mode-children-records#9025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3019<br /><strong>Posted:</strong> 12 October 2005 at 11:57pm<br /><br />Visrtual Mode don't support tree behavior.]]>
   </description>
   <pubDate>Wed, 12 Oct 2005 23:57:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=9025&amp;title=virtual-mode-children-records#9025</guid>
  </item> 
  <item>
   <title><![CDATA[Virtual mode &amp; Children records : I&amp;#039;ve written two different...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=9018&amp;title=virtual-mode-children-records#9018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1331">tjohnson</a><br /><strong>Subject:</strong> 3019<br /><strong>Posted:</strong> 12 October 2005 at 10:35am<br /><br /><P>I've written two different implementations of the same, simple CXTPReportView class.&nbsp; The ReportControl is set up to be a simple one column table where each row is allowed to have multiple children.&nbsp; For example, the parent record might have the text "Cheese, cheddar" and the children would be "1 ounce, 1 cup, 1 bag, etc." This single column is set to be a tree column.</P><P>The first implementation builds the&nbsp;report all in to memory during the OnCreate method and then calls Populate.&nbsp; As expected, the rows appear with the + icon next to them and expand/collapse appropriately.</P><P>The second implementation uses the virtual mode of the control.&nbsp; I've implemented two "virtual" record classes (parent and child), each with their separate GetItemMetrics implementations.&nbsp; I have tried many variations of instantiating the children records (in the constructor of the parent, in the GetItemMetrics method of the parent), but nothing seems to cause them to draw when Populate is called on the control.&nbsp; The best I've been able to manage is to get the text of the parent record to be indented correctly, but a + never appears, despite the fact that the individual record objects do have children records attached to them (verified through inspection during debugging).&nbsp; It seems nothing ever even tries to process the children records, despite their presence.</P><P>Looking through the code,&nbsp; it appears that the Populate method takes a drastically, yet apparently inequivalent, approach to drawing the table in virtual mode.&nbsp; While&nbsp;this difference&nbsp;is not unexpected, the fact that the they don't produce the same results is.&nbsp; Am I missing something obvious in constructing the report in virtual mode to achieve the tree behavior?&nbsp;What is the trick? </P><P>Any help would be appreciated, because the in-memory version is unacceptable with&nbsp;the large data set that backs this control.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 12 Oct 2005 10:35:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3019&amp;PID=9018&amp;title=virtual-mode-children-records#9018</guid>
  </item> 
 </channel>
</rss>