<?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 : preventing columnreordering after removing groupin</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : preventing columnreordering after removing groupin]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 14:02:42 +0000</pubDate>
  <lastBuildDate>Fri, 27 Jun 2008 09:23:52 +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=11214</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[preventing columnreordering after removing groupin : Yes, add it to your list. I&amp;#039;ll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37508&amp;title=preventing-columnreordering-after-removing-groupin#37508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 27 June 2008 at 9:23am<br /><br />Yes, add it to your list.&nbsp; I'll make sure they are fixed in 12.1.0. &nbsp;]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 09:23:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37508&amp;title=preventing-columnreordering-after-removing-groupin#37508</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin :   SuperMario wrote:I read the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37506&amp;title=preventing-columnreordering-after-removing-groupin#37506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 27 June 2008 at 9:16am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />I read the last line<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp; He only wanted to prevent it because it wasn't exporting to his excel sheet the way he wanted.</td></tr></table> <DIV>&nbsp;</DIV><DIV>SuperMario,</DIV><DIV>&nbsp;</DIV><DIV>I look at the first sentence and I&nbsp;feel an issue&nbsp;bubbling up <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;I tested this and it is true. Do you want me to post one or add it to my list? btw the list still has issues left and now I have to add "and growing" .... <img src="https://forum.codejock.com/smileys/smiley5.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 09:16:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37506&amp;title=preventing-columnreordering-after-removing-groupin#37506</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin : I read the last line He only wanted...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37501&amp;title=preventing-columnreordering-after-removing-groupin#37501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 27 June 2008 at 8:46am<br /><br />I read the last line<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle">&nbsp; He only wanted to prevent it because it wasn't exporting to his excel sheet the way he wanted.]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 08:46:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37501&amp;title=preventing-columnreordering-after-removing-groupin#37501</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin :   SuperMario wrote:It sounded...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37496&amp;title=preventing-columnreordering-after-removing-groupin#37496</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 27 June 2008 at 8:26am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />It sounded to me like he would rather allow column reordering.</td></tr></table> <DIV>&nbsp;</DIV><DIV>SuperMario,</DIV><DIV>&nbsp;</DIV><DIV>Please look at the first line BoboP wrote (in original post)</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 08:26:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37496&amp;title=preventing-columnreordering-after-removing-groupin#37496</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin : It sounded to me like he would...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37490&amp;title=preventing-columnreordering-after-removing-groupin#37490</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 27 June 2008 at 8:01am<br /><br />It sounded to me like he would rather allow column reordering.]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 08:01:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37490&amp;title=preventing-columnreordering-after-removing-groupin#37490</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin :   SuperMario wrote:You can use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37446&amp;title=preventing-columnreordering-after-removing-groupin#37446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 26 June 2008 at 4:01pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />You can use ItemIndex of the Column.&nbsp; This value remains constant, and does not depend on the current order of the columns.&nbsp; The ItemIndex is given at the time the Columns are added.&nbsp; The ItemIndex will not change when the columns are moved (dragged and dropped to another location).&nbsp; Since the Index of the column might change frequently (dragged\grouped), the ItemIndex is used when the column needs to be accessed.<BR><BR><a href="http://https://forum.codejock.com/forum_posts.asp?TID=6415" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=6415</A></td></tr></table> <DIV>&nbsp;</DIV><DIV>SuperMario,</DIV><DIV>&nbsp;</DIV><DIV>It's nice to have the "exported" records in an order you want <strong>but the fact remains that you can still reorder columns</strong>. The same problem with DisableReorderColumnsCount: dragging a column to groupbox and back allows you to drop it anywhere you want (see my multiple issue post and sample project <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">) </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 16:01:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37446&amp;title=preventing-columnreordering-after-removing-groupin#37446</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin : Hi, maybe it is a workaround to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37440&amp;title=preventing-columnreordering-after-removing-groupin#37440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 26 June 2008 at 12:16pm<br /><br />Hi, <span id="ToolBar2"></span><br><br>maybe it is a workaround to handle ColumnOrderChanged event: iterate through all columns and compare properties ItemIndex and Index. If there is a difference, use Move method to move the column to the original position. <br><br>I agree, it would be better if AllowColumnReordering works as expected, even after removing a column from the grouping area...<br><br>Maybe we can expect a fixing with one of the next releases?<br><br>Peter<br><br><!--DX end --><!--DX start ="TaggedComment" source="Item" id="##EXAMPLEINTRO" at="<h4 =dxh4>$$Example$$</h4><p>%%comment%%</p>" --><!--DX end --><!--DXMETADATA start type="FilteredItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" filter="type=inline" NoHeader="True" NoFooter="True" format="%%taggedcomment:source=item,id=##EXAMPLEINTRO,blankformat=<h4 =dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --><!--DX end --><!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="seealso" source="Item" filter="" NoHeader="True" NoFooter="True" format="<h4 =dxh4>$$See_Also$$</h4><p id=dxseealsoc&#111;ntent>%%filtereditemlist%%</p>" -->]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 12:16:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37440&amp;title=preventing-columnreordering-after-removing-groupin#37440</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin : You can use ItemIndex of the Column....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37430&amp;title=preventing-columnreordering-after-removing-groupin#37430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 26 June 2008 at 9:17am<br /><br />You can use ItemIndex of the Column.&nbsp; This value remains constant, and doesnot depend on the current order of the columns.&nbsp; The ItemIndex is givenat the time the Columns are added.&nbsp;  The ItemIndex will not change when the columns are moved (dragged and dropped to another location).&nbsp; Since the Index of the column might change frequently (dragged\grouped), the ItemIndex is used when the column needs to be accessed.<br><br><a href="http://https://forum.codejock.com/forum_posts.asp?TID=6415" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=6415</a>]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 09:17:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37430&amp;title=preventing-columnreordering-after-removing-groupin#37430</guid>
  </item> 
  <item>
   <title><![CDATA[preventing columnreordering after removing groupin :  Hi ,I don&amp;#039;t want columns...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37429&amp;title=preventing-columnreordering-after-removing-groupin#37429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3858">BoboP</a><br /><strong>Subject:</strong> 11214<br /><strong>Posted:</strong> 26 June 2008 at 8:53am<br /><br />Hi ,<br><br>I don't want columns to be reordered, I have made the property AllowColumnReordering = false,<br>But when I group the records on clicking columns , and again for removing it when I place column somewhere else from dragged position ,It does allow column reordering.<br><br>How can i prevent that , the problem is I wanted to export record list to excel sheet. but when columns reordered , reportcontrol has its rows not reordered by column, bec'z of which . In excel sheet I get different values in different columns <br><br>&nbsp;worksheet.Cells&#091;i , j &#093; = ReportControl.Rows<em>.Record&#091;j&#093;.Value;<br>here Report control does not have reordered value <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br><br>...... I would rather like column reordered list to export to excel sheet ....... but if not that I would at least need to prevent column reordering <img src="http://forum.codejock.com/smileys/smiley18.gif" border="0" align="absmiddle"><br>&nbsp;Any suggestion will be appreciated.<br><br><br><br></em>]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 08:53:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11214&amp;PID=37429&amp;title=preventing-columnreordering-after-removing-groupin#37429</guid>
  </item> 
 </channel>
</rss>