<?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 : Row deletion after sorting</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Row deletion after sorting]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 04:01:22 +0000</pubDate>
  <lastBuildDate>Thu, 28 Mar 2013 01:58:42 +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=21567</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[Row deletion after sorting : Here is my code for deleting rows:CXTPReportRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21567&amp;PID=70771&amp;title=row-deletion-after-sorting#70771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6678">Benit</a><br /><strong>Subject:</strong> 21567<br /><strong>Posted:</strong> 28 March 2013 at 1:58am<br /><br /><div><br></div><div><br></div>Here is my code for deleting rows:<div>CXTPReportRow *ptrSelRow = NULL;<div>CXTPReportRecords *pAllRecords = NULL;</div><div>ptrSelRow = GetFocusedRow();</div><div>int nSelRow = -1;</div><div>if(ptrSelRow != NULL)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>nSelRow = ptrSelRow-&gt;GetIndex();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pAllRecords = GetRecords();&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pAllRecords-&gt;RemoveAt(nSelRow);<span ="Apple-tab-span" style="white-space:pre">	</span></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>Populate();<span ="Apple-tab-span" style="line-height: 1.4; white-space: pre;">	</span><span ="Apple-tab-span" style="line-height: 1.4; white-space: pre;">	</span></div><div>}</div></div><div>Is there any thing to add up for gird after sorting&nbsp;</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 28 Mar 2013 01:58:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21567&amp;PID=70771&amp;title=row-deletion-after-sorting#70771</guid>
  </item> 
  <item>
   <title><![CDATA[Row deletion after sorting : I have a grid containing &amp;#034;n&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21567&amp;PID=70770&amp;title=row-deletion-after-sorting#70770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6678">Benit</a><br /><strong>Subject:</strong> 21567<br /><strong>Posted:</strong> 28 March 2013 at 1:51am<br /><br />I have a grid containing "n" records, the grid has a property to sort , add and delete rows .<div>When user add a row and then sort it the sort order is reflected visibly .</div><div>But when i am trying to delete after sorting, the focussed row is not getting deleted. Deletion occurs for the row which was selected before sorting was deleted.</div><div><br></div><div>EXAMPLE:</div><div>row before sorting &nbsp;is 1,2,3,4,5</div><div>row after sorting &nbsp; &nbsp; is 5,3,1,2,4</div><div>Now if i want to delete row 5 it is till deleting ROW 1.</div><div><br></div><div>Can any one tell me why this happens?</div><div>Do i need to set any thing before deletion if records has been sorted?</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 28 Mar 2013 01:51:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21567&amp;PID=70770&amp;title=row-deletion-after-sorting#70770</guid>
  </item> 
 </channel>
</rss>