<?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 : Grid row without children not indented (CJ 24.2)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Grid row without children not indented (CJ 24.2)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 08 Oct 2026 18:51:23 +0000</pubDate>
  <lastBuildDate>Wed, 22 Oct 2025 11:10: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=24602</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[Grid row without children not indented (CJ 24.2) : Hi;The bug fix mentioned does...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79301&amp;title=grid-row-without-children-not-indented-cj-24-2#79301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24602<br /><strong>Posted:</strong> 22 October 2025 at 11:10am<br /><br /><div>Hi;</div><div>The bug fix mentioned does not solve the indention problem (see first two rows):</div><div><br></div><div><img src="uploads/109/Problem_mit_Baum_im_Grid.png" height="237" width="318" border="0" /></div><div><br></div><div>Still waiting for a fix to solve this problem!</div>]]>
   </description>
   <pubDate>Wed, 22 Oct 2025 11:10:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79301&amp;title=grid-row-without-children-not-indented-cj-24-2#79301</guid>
  </item> 
  <item>
   <title><![CDATA[Grid row without children not indented (CJ 24.2) : I found this issue in 24.2 as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79276&amp;title=grid-row-without-children-not-indented-cj-24-2#79276</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9372">dbrookes</a><br /><strong>Subject:</strong> 24602<br /><strong>Posted:</strong> 15 September 2025 at 3:57am<br /><br /><div>I found this issue in 24.2 as well. It looked like the change made it so that the expand button space is not taken by an item without children. Meaning items on the same level didn't line up anymore. But that also caused other issues like the in-place edit control no longer lining up with the item text. I ended up patching the grid record item drawing to revert the change.&nbsp;</div><div><br></div><div>Here is a patch:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>diff --git Source/GridControl/XTPGridRecordItem.cpp Source/GridControl/XTPGridRecordItem.cpp<br>index 0011a04d..4b31aba3 100644<br>--- Source/GridControl/XTPGridRecordItem.cpp<br>+++ Source/GridControl/XTPGridRecordItem.cpp<br>@@ -829,9 +829,9 @@ int CXTPGridRecordItem::Draw(XTP_GRIDRECORDITEM_DRAWARGS* pDrawArgs)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nTreeTextIndent = pPaintManager-&gt;m_nTreeTextIndentRowChildren;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp;<br>-&nbsp; &nbsp; &nbsp; &nbsp; rcItem.left = rcBitmap.left + nTreeTextIndent;<br>-&nbsp; &nbsp; &nbsp; &nbsp; if (bHasChildren)<br>-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcItem.left += sizeBitmap.cx;<br>+&nbsp; &nbsp; &nbsp; &nbsp; rcItem.left = rcBitmap.left;<br>+&nbsp; &nbsp; &nbsp; &nbsp; rcItem.left += sizeBitmap.cx;<br>+&nbsp; &nbsp; &nbsp; &nbsp; rcItem.left += nTreeTextIndent;<br>&nbsp; &nbsp; &nbsp;}<br>&nbsp;<br>&nbsp; &nbsp; &nbsp;pDC-&gt;SetTextColor(pMetrics-&gt;clrForeground);</div><div></pre></td></tr></table></div>]]>
   </description>
   <pubDate>Mon, 15 Sep 2025 03:57:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79276&amp;title=grid-row-without-children-not-indented-cj-24-2#79276</guid>
  </item> 
  <item>
   <title><![CDATA[Grid row without children not indented (CJ 24.2) :  Following migration from CJ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79274&amp;title=grid-row-without-children-not-indented-cj-24-2#79274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=451">Heath</a><br /><strong>Subject:</strong> 24602<br /><strong>Posted:</strong> 11 September 2025 at 4:02am<br /><br /><div>Following migration from CJ 24.1 to 24.2, the grid ident for rows without children are no longer indented to align with rows with children (with the expand icon).&nbsp;</div><div><br></div><div>The release notes say...</div><div><br></div><div><i>Text indent computation fixed for a group row with no icon</i></div><div><div><i>Default tree item indentation fixed in Grid control</i></div></div><div><br></div><div>I used the fix below where pGridCtrl is a pointer to CXTPGridControl.</div><div><br></div><div><div><span style="white-space: normal;">CXTPGridPaintManager* pGridPaintManager = pGridCtrl-&gt;GetPaintManager();</span></div><div><span style="white-space: normal;">pGridPaintManager-&gt;m_nTreeTextIndent = 25;</span></div><div><span style="white-space: normal;">pGridPaintManager-&gt;m_nTreeTextIndentRowChildren = 25;</span></div></div><div><span style="white-space: normal;"><br></span></div><div>I assume this is a bug as the default has been changed from the behaviour seen in many previous releases.</div><div><br></div><div>Regards,</div><div>Heath</div>]]>
   </description>
   <pubDate>Thu, 11 Sep 2025 04:02:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24602&amp;PID=79274&amp;title=grid-row-without-children-not-indented-cj-24-2#79274</guid>
  </item> 
 </channel>
</rss>