<?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 : How to:Get Item after re-sorting.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to:Get Item after re-sorting.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 22:47:21 +0000</pubDate>
  <lastBuildDate>Fri, 02 Dec 2016 04:26:01 +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=23219</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[How to:Get Item after re-sorting. : I still don&amp;#039;t make myself...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23219&amp;PID=75407&amp;title=how-toget-item-after-resorting#75407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9109">Glaber8</a><br /><strong>Subject:</strong> 23219<br /><strong>Posted:</strong> 02 December 2016 at 4:26am<br /><br />I still don't make myself clear, d better show a example like this:<div><br></div><div>//----------Code---------------</div><div>//Inserting new record.</div><div>//...</div><div>m_wndReportCtrl.AddRecord(new CReportRecord(i));</div><div><br></div><div>MFC:</div><div>&nbsp;-----------Report Control------------------</div><div>| &nbsp;1 &nbsp;| Yes | ...</div><div>| &nbsp;2 &nbsp;| Yes | ...</div><div><div>| &nbsp;3 &nbsp;| No &nbsp;| ...</div></div><div>&nbsp;--------------------</div><div><br></div><div>//Click any column head, the row will resort:</div><div><div>&nbsp;-----------Report Control------------------</div><div>| &nbsp;3 &nbsp;| Yes | ...</div><div>| &nbsp;2 &nbsp;| Yes | ...</div><div>| &nbsp;1 &nbsp;| No &nbsp;| ...</div><div>&nbsp;--------------------</div></div><div><br></div><div>//Right now if I would like to use: (assume the focused row is third row "&nbsp;&nbsp;1 &nbsp;| No &nbsp;| ...".)</div><div>int nSelRow = m_wndReportCtrl.GetSelectedRowIndex();</div><div>m_wndReportCtrl.GetItemText(nSelRow, 0);</div><div><br></div><div>//will get the "&nbsp;&nbsp;3 &nbsp;| Yes | ..." record rather than "&nbsp;&nbsp;1 &nbsp;| No &nbsp;| ..."</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 02 Dec 2016 04:26:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23219&amp;PID=75407&amp;title=how-toget-item-after-resorting#75407</guid>
  </item> 
  <item>
   <title><![CDATA[How to:Get Item after re-sorting. : Dear CJ Team: Here is the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23219&amp;PID=75406&amp;title=how-toget-item-after-resorting#75406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9109">Glaber8</a><br /><strong>Subject:</strong> 23219<br /><strong>Posted:</strong> 02 December 2016 at 4:15am<br /><br />Dear CJ Team:<div>&nbsp; Here is the problem I have: I created 5 records (1,2,3,4,5) with 3 columns in report control, after clicking any columns headers, the records will resorted. However the retrieved item is always in the inserted sequence rather than the item from the resorted index.</div><div>&nbsp; I suppose this is quite a easy issue and appreciated if your team could show me some tips to solve this.</div><div><br></div><div>Cheers.</div>]]>
   </description>
   <pubDate>Fri, 02 Dec 2016 04:15:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23219&amp;PID=75406&amp;title=how-toget-item-after-resorting#75406</guid>
  </item> 
 </channel>
</rss>