<?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 : Saving columns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Saving columns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 03:46:18 +0000</pubDate>
  <lastBuildDate>Thu, 27 Sep 2007 11:07:50 +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=6756</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[Saving columns : Ah, I managed to figure it out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=26527&amp;title=saving-columns#26527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6756<br /><strong>Posted:</strong> 27 September 2007 at 11:07am<br /><br />Ah, I managed to figure it out by myself. It was a bit easier than I thought.<br><br>All I did was<br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; CXTPPropExchangeXMLNode px(FALSE, 0, _T("IndexSearch"));<br>&nbsp;&nbsp;&nbsp; m_ReportCtrl.DoPropExchange(&amp;px);<br>&nbsp;&nbsp;&nbsp; px.SaveToFile(sFilename);<br></pre></td></tr></table><br>to save and<br><br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; CXTPPropExchangeXMLNode px(TRUE, 0, _T("IndexSearch"));<br>&nbsp;&nbsp;&nbsp; if( px.LoadFromFile(sFilename) )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_ReportCtrl.DoPropExchange(&amp;px);</pre></td></tr></table><br>to load.<br><br><br>]]>
   </description>
   <pubDate>Thu, 27 Sep 2007 11:07:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=26527&amp;title=saving-columns#26527</guid>
  </item> 
  <item>
   <title><![CDATA[Saving columns : Isn&amp;#039;t there a way to save...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=26515&amp;title=saving-columns#26515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6756<br /><strong>Posted:</strong> 27 September 2007 at 8:03am<br /><br />Isn't there a way to save what columns are shown and their width?<br>Ok, what about how to get the data and save it myself?<br><br>Hello? Anybody?<br>]]>
   </description>
   <pubDate>Thu, 27 Sep 2007 08:03:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=26515&amp;title=saving-columns#26515</guid>
  </item> 
  <item>
   <title><![CDATA[Saving columns : At first I used CXTPReportColumns...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=21554&amp;title=saving-columns#21554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6756<br /><strong>Posted:</strong> 29 March 2007 at 7:35am<br /><br />At first I used<br>&nbsp;&nbsp;&nbsp; CXTPReportColumns *pReportColumns = m_ReportCtrl.GetColumns();<br>&nbsp;&nbsp;&nbsp; for( int f = 0; f &lt; NR_OF_COLUMNS; f++ )<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPReportColumn *pReportColumn = pReportColumns-&gt;GetAt(f);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pReportColumn-&gt;SetVisible(false or true);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pReportColumn-&gt;SetWidth( the width );<br>&nbsp;&nbsp;&nbsp; }<br><br>then I saved them in a simmilar way. The problem is that the user may move around the colums so the old column 3 is now column 5 so that way doesn't work at all.<br>]]>
   </description>
   <pubDate>Thu, 29 Mar 2007 07:35:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=21554&amp;title=saving-columns#21554</guid>
  </item> 
  <item>
   <title><![CDATA[Saving columns : I have set up a CXTPReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=21553&amp;title=saving-columns#21553</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6756<br /><strong>Posted:</strong> 29 March 2007 at 7:28am<br /><br />I have set up a CXTPReportControl and populated the columns (hidingsome) and setting their widths, titles and so on. The user may thenmove around the columns, show some, hide some and change their widths.Is there a way to save the altered settings so I can restor them thenext time the user opens the control?]]>
   </description>
   <pubDate>Thu, 29 Mar 2007 07:28:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6756&amp;PID=21553&amp;title=saving-columns#21553</guid>
  </item> 
 </channel>
</rss>