<?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 : Drag and drop nested entries</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Drag and drop nested entries]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 23:40:44 +0000</pubDate>
  <lastBuildDate>Sat, 19 May 2007 10:38:54 +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=7158</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[Drag and drop nested entries : Hi,I agree with you that this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=23073&amp;title=drag-and-drop-nested-entries#23073</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7158<br /><strong>Posted:</strong> 19 May 2007 at 10:38am<br /><br />Hi,<br><br>I agree with you that this way of implementing such operation doesn't look quite handy. But that's what is only available for now. <br><br>You can also use method .Insert to specify an order number.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 19 May 2007 10:38:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=23073&amp;title=drag-and-drop-nested-entries#23073</guid>
  </item> 
  <item>
   <title><![CDATA[Drag and drop nested entries : In my attempt to standardize on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=22987&amp;title=drag-and-drop-nested-entries#22987</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2593">Nomlas</a><br /><strong>Subject:</strong> 7158<br /><strong>Posted:</strong> 17 May 2007 at 9:01am<br /><br />In my attempt to standardize on the Codejock suite, I'm trying to use the report control as a replacement for another grid control I currently use.  I'm sure I just don't understand the object model well enough, but have found it difficult to do common actions such as re-arranging the grid.<br /><br />For example, this code will move an entry to (the end) of another group.  Is this the right approach?  If so, how can I re-order the Childs collection so the entry stays where I "dropped" it?<br /><br /><br />Private Sub RC_RecordsDropped(ByVal TargetRecord As XtremeReportControl.IReportRecord, ByVal Records As XtremeReportControl.IReportRecords, ByVal Above As Boolean)<br />Dim s As String<br />Dim i As Long<br />Dim TargetRow As ReportRow<br />Dim NewRec As ReportRecord<br />Dim Item As ReportRecordItem<br />&nbsp;&nbsp;&nbsp;&nbsp;'--- Find target location<br />&nbsp;&nbsp;&nbsp;&nbsp;Set TargetRow = RC.Rows.FindRowInTree(TargetRecord)<br />&nbsp;&nbsp;&nbsp;&nbsp;'--- Add a new child record<br />&nbsp;&nbsp;&nbsp;&nbsp;Set NewRec = TargetRow.ParentRow.Record.Childs.Add()<br />&nbsp;&nbsp;&nbsp;&nbsp;'--- Manually add items (columns)<br />&nbsp;&nbsp;&nbsp;&nbsp;NewRec.AddItem Records(0).Item(0).Value<br />&nbsp;&nbsp;&nbsp;&nbsp;Set Item = NewRec.AddItem(Records(0).Item(1).Value)<br />&nbsp;&nbsp;&nbsp;&nbsp;Item.HasCheckbox = True<br />&nbsp;&nbsp;&nbsp;&nbsp;NewRec.AddItem Records(0).Item(2).Value<br />&nbsp;&nbsp;&nbsp;&nbsp;'--- Delete original record<br />&nbsp;&nbsp;&nbsp;&nbsp;RC.Cut<br />&nbsp;&nbsp;&nbsp;&nbsp;RC.Populate<br />End Sub<br /><br />Thanks]]>
   </description>
   <pubDate>Thu, 17 May 2007 09:01:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=22987&amp;title=drag-and-drop-nested-entries#22987</guid>
  </item> 
  <item>
   <title><![CDATA[Drag and drop nested entries : Could someone provide a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=22950&amp;title=drag-and-drop-nested-entries#22950</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2593">Nomlas</a><br /><strong>Subject:</strong> 7158<br /><strong>Posted:</strong> 16 May 2007 at 2:55pm<br /><br />Could someone provide a sample of using Drag and Drop for moving nested entries (treeview style)?<br /><br />In the following screenshot, I can move the "group" items (as in the VB6 sample), but cannot move a detail item between (or within) groups.  I guess this isn't supported by the default behavior.<br /><br />I eventually need to provide the user with a general ability to move, copy, delete, and insert entries at will, so a general example would be great and, I think, a valuable addition to the VB6 samples too.<br /><br /><img src="uploads/20070516_143958_D&D.bmp" border="0"><br /><br />Thanks]]>
   </description>
   <pubDate>Wed, 16 May 2007 14:55:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7158&amp;PID=22950&amp;title=drag-and-drop-nested-entries#22950</guid>
  </item> 
 </channel>
</rss>