<?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 : RptCtrl: Programatically set column order</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : RptCtrl: Programatically set column order]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 09:06:36 +0000</pubDate>
  <lastBuildDate>Mon, 20 Dec 2021 17:34:33 +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=1579</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[RptCtrl: Programatically set column order : Many years later, I had the same...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=78354&amp;title=rptctrl-programatically-set-column-order#78354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8886">wrecks</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 20 December 2021 at 5:34pm<br /><br />Many years later, I had the same question.&nbsp;&nbsp;<div>The answer is: use the <b>Column.Move</b> method.</div><div>Example:</div><div><span style="font-size: 12px;"><b>&nbsp; &nbsp;Columns.Find(7).Move(1)</b></span></div><div><span style="font-size: 12px;">Means move the column with ItemIndex 7 to Index 1.</span></div><div><span style="font-size: 12px;"><br></span></div>]]>
   </description>
   <pubDate>Mon, 20 Dec 2021 17:34:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=78354&amp;title=rptctrl-programatically-set-column-order#78354</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : I was told that a &amp;#039;Move&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4705&amp;title=rptctrl-programatically-set-column-order#4705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 12 January 2005 at 7:58am<br /><br />I was told that a 'Move' method was added for the next release <IMG src="http://forum.codejock.com/smileys/smiley32.gif" border="0">]]>
   </description>
   <pubDate>Wed, 12 Jan 2005 07:58:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4705&amp;title=rptctrl-programatically-set-column-order#4705</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : Cool!  Do you need another beta...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4616&amp;title=rptctrl-programatically-set-column-order#4616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=906">alpine</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 05 January 2005 at 5:17pm<br /><br />Cool!  Do you need another beta tester?  I'm in the process of doing a prototype that would be a great test-bed for the virtual report control and the timing for release would be just about perfect.]]>
   </description>
   <pubDate>Wed, 05 Jan 2005 17:17:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4616&amp;title=rptctrl-programatically-set-column-order#4616</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : Hopefully by the end of January ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4612&amp;title=rptctrl-programatically-set-column-order#4612</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 05 January 2005 at 6:38am<br /><br />Hopefully by the end of January<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">]]>
   </description>
   <pubDate>Wed, 05 Jan 2005 06:38:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4612&amp;title=rptctrl-programatically-set-column-order#4612</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : &amp;gt;Virtual mode is going to be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4609&amp;title=rptctrl-programatically-set-column-order#4609</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=906">alpine</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 05 January 2005 at 3:58am<br /><br />&gt;Virtual mode is going to be added next release<br /><br />That's good news.  So, the obvious follow-up question is.....  When will that be?]]>
   </description>
   <pubDate>Wed, 05 Jan 2005 03:58:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4609&amp;title=rptctrl-programatically-set-column-order#4609</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : Virtual mode is going to be added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4605&amp;title=rptctrl-programatically-set-column-order#4605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 04 January 2005 at 4:34pm<br /><br />Virtual mode is going to be added next release<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 16:34:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4605&amp;title=rptctrl-programatically-set-column-order#4605</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : &amp;gt;I hope a solution for this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4604&amp;title=rptctrl-programatically-set-column-order#4604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=906">alpine</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 04 January 2005 at 4:06pm<br /><br />&gt;I hope a solution for this can be provided in the next release of ReportControl.  The ability to modify column positioning already exists (since you can drag/drop), so we just need to have it exposed programmatically.<br /><br /><br />I agree and was pretty surprised that this basic functionality was omitted from the control.  <br /><br />Also, as long as we're asking for features, another thing the report control *really* needs is a virtual mode.  Let us back the list with whatever storage we want and just ask us for the data when the control needs to draw an item.  It's insane to have to create an object for each cell in the display.]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 16:06:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4604&amp;title=rptctrl-programatically-set-column-order#4604</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : I haven&amp;#039;t tried it, but I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4603&amp;title=rptctrl-programatically-set-column-order#4603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 04 January 2005 at 2:17pm<br /><br /><P>I haven't tried it, but I don't think it will work.&nbsp; The ItemIndex is assigned based on the order the columns are added to the ReportControl.&nbsp; If you delete them all and add them back in a different order, the ItemIndex for the columns&nbsp;will probably&nbsp;change (since they are&nbsp;being added in a different&nbsp;order than originally added) and will no longer correspond to the ReportRecordItems.</P><P>I don't there's going to be any acceptable workaround for this, so new functionality will need to be added.&nbsp;&nbsp;You would think you could just change the 'Index' of a column to alter it's position, but this property is Read Only (even though the Documentation says it's a Read-Write Property <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0">).</P><P>I hope a solution for this can be provided in the next release of ReportControl.&nbsp; The ability to modify column positioning already exists (since you can drag/drop), so we just need to have it exposed programmatically.</P>]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 14:17:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4603&amp;title=rptctrl-programatically-set-column-order#4603</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : Have you tried to delete the columns...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4602&amp;title=rptctrl-programatically-set-column-order#4602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 04 January 2005 at 12:01pm<br /><br />Have you tried to delete the columns then add them back in the orderyou want?&nbsp; You would need to keep track of the item index, as itis the index of the item in the record to show in the column.]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 12:01:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4602&amp;title=rptctrl-programatically-set-column-order#4602</guid>
  </item> 
  <item>
   <title><![CDATA[RptCtrl: Programatically set column order : For the record, this is something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4599&amp;title=rptctrl-programatically-set-column-order#4599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1579<br /><strong>Posted:</strong> 04 January 2005 at 9:15am<br /><br /><P>For the record, this is something I'm interested in as well.&nbsp; I had assumed that ReportControl would offer this basic functionality, so I was disappointed to find out that it did not.&nbsp; Programmatically setting column order is very important.</P><P>I'd like to provide an interface similar to Outlook that allows the users to use a dialog to control which columns are visible and in which order.&nbsp; Without being able to change column order myself, this simply can't be done.</P><P>It looks like&nbsp;having a 'SortAscending' property&nbsp;in the FieldChooser should also be added.&nbsp; Sorted alphabetically is the default order for fields in the Outlook FieldChooser.</P>]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 09:15:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1579&amp;PID=4599&amp;title=rptctrl-programatically-set-column-order#4599</guid>
  </item> 
 </channel>
</rss>