<?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 : Grouprow SUMSUB and alignment of sumsub</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Grouprow SUMSUB and alignment of sumsub]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 22:30:30 +0000</pubDate>
  <lastBuildDate>Mon, 04 Oct 2010 14:19:26 +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=17265</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[Grouprow SUMSUB and alignment of sumsub : Hi,  I&amp;#039;m sorry but I didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60681&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60681</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17265<br /><strong>Posted:</strong> 04 October 2010 at 2:19pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm sorry but I didn't see your reply <img src="http://forum.codejock.com/smileys/smiley9.gif" height="17" width="17" border="0" alt="Embarrassed" title="Embarrassed" /></DIV><DIV>&nbsp;</DIV><DIV>I tried with CodeJock sample and I'm able to set .Alignment &amp; .HeaderAlignment afterwards (DataBinding sample) and I tried with my own code and (sub)totals use these settings...</DIV><DIV>&nbsp;</DIV><DIV>Is it possible to upload small test project?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 14:19:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60681&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60681</guid>
  </item> 
  <item>
   <title><![CDATA[Grouprow SUMSUB and alignment of sumsub :  Thanks for always replying Aaron....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60344&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 17265<br /><strong>Posted:</strong> 21 September 2010 at 4:43am<br /><br />Thanks for always replying Aaron<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" />. I do set the .Headeralignment and .Alignment same.<br>I am using databind.<br>wndReportControl.Datasouce = myDataSet<br>wndReportControl.Databind<br><br>Then I go through the columns and set the Alignment<br><br>&nbsp;For Each c In wndReportControl.Columns<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c.Alignment = theAlignment_I_want&nbsp; 'xtpAlignmentCenter, xtpAlignmentRight or xtpAlignmentLeft<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c.HeaderAlignment = c.Alignment<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c.FooterAlignment = c.Alignment<br><br>&nbsp; Next<br><br>Any other idea?<br>]]>
   </description>
   <pubDate>Tue, 21 Sep 2010 04:43:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60344&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60344</guid>
  </item> 
  <item>
   <title><![CDATA[Grouprow SUMSUB and alignment of sumsub : Hi,  Did you set .HeaderAlignment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60342&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17265<br /><strong>Posted:</strong> 21 September 2010 at 4:21am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Did you set .HeaderAlignment and .Alignment same?</DIV><DIV>&nbsp;</DIV><DIV>With Me.wndReportControl<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .Columns<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .Add(.Count, "Col 1", 100, True)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .HeaderAlignment = xtpAlignmentRight<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Alignment = xtpAlignmentRight<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With&nbsp;&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End With</DIV><DIV>End With</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 21 Sep 2010 04:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60342&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60342</guid>
  </item> 
  <item>
   <title><![CDATA[Grouprow SUMSUB and alignment of sumsub : Hi.I have a reportcontrol wich...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60263&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60263</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 17265<br /><strong>Posted:</strong> 17 September 2010 at 8:54am<br /><br />Hi.<br><br>I have a reportcontrol wich I use SUMSUB to show groupsums when I am grouping on a column. This works fine, but the alignment of the groupsum does not follow the allignment of the columns i use Sumsub on<br><br><img src="uploads/6039/grouping.jpg" height="187" width="720" border="0" /><br><br>Here is my sumsub code:<br><br>Private Sub RC_GroupOrderChangedEx(ByVal Column As XtremeReportControl.IReportColumn, ByVal Reason As XtremeReportControl.XTPReportColumnOrderChangedReason)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If Reason &amp; xtpReportColumnAddedToGroupby Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To RC.Rows.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Row = RC.Rows(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Row.groupRow Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set groupRow = Row<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow.GroupFormat = "%.02f"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tformel = ""<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For j = 1 To m_sums.Rows<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tformel = tformel &amp; " SUMSUB(C" &amp; m_sums.value(3, j) - 1 &amp; ":C" &amp; m_sums.value(3, j) &amp; ")"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow.GroupFormula = Trim(tformel)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'groupRow.GroupFormula = "SUMSUB(C2:C3) SUMSUB(C3:C4)"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow.GroupCaption = "x"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RC.ReCalc True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RC.ReDraw<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Anyone got an idea how I can right-align the sums in the grouping-row?<br><br><br><br><br>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 08:54:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17265&amp;PID=60263&amp;title=grouprow-sumsub-and-alignment-of-sumsub#60263</guid>
  </item> 
 </channel>
</rss>