<?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 : FEATURE REQ: AllowExpandCollapse &amp; BeforeExpanded</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : FEATURE REQ: AllowExpandCollapse &amp; BeforeExpanded]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 15:48:33 +0000</pubDate>
  <lastBuildDate>Mon, 22 Mar 2010 15:59:37 +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=16304</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[FEATURE REQ: AllowExpandCollapse &amp; BeforeExpanded : Hi Jason,  It would be easier...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57725&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16304<br /><strong>Posted:</strong> 22 March 2010 at 3:59pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>It would be easier with these two properties but you could also use BeforeDrawRow event:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ReportControl1_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>&nbsp;&nbsp;&nbsp; If Row.GroupRow Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Row.Expanded Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.<strong>GroupRowIcon</strong> = 6<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.<strong>GroupRowIconAlignment</strong> = xtpGroupRowIconBeforeText<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>I tried with your DEMO SingleExpandGroup and it works <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;You have to remove plus/minus icons and assign Metrics.<strong>GroupRowIcon</strong>&nbsp;(and&nbsp;CJ fixes the Glyphs icons problem) you can use this instead.&nbsp;&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>But I will add the requests to my list anyway, maybe CJ is in a good mood and will add these as well <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Mar 2010 15:59:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57725&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57725</guid>
  </item> 
  <item>
   <title><![CDATA[FEATURE REQ: AllowExpandCollapse &amp; BeforeExpanded : It might be better if we could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57186&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57186</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16304<br /><strong>Posted:</strong> 27 February 2010 at 2:49pm<br /><br />It might be better if we could have finer control over the +/- glyphsthan just on or off. Using my autocollapsing groups demo as an example,it makes sense to keep showing the expand glyph, but hide the collapseglyph (since the user can't collapse a group).<br><br>So maybe:<br><br><br><ol><li>ShowGroupRowCollapseGlyph = Boolean. When False, the - glyph is not shown.<br></li><li>ShowGroupRowExpandGlyph = Boolean. When false, the + glyph is not shown.</li></ol>If <b>both</b> ShowGroupRowCollapseGlyph and ShowGroupRowExpandGlyph are <b>FALSE</b>, then the left margin of the group text should collapse to the left (since no glyphs will be shown, let's not leave space for them).<br><br>If <b>either</b> of the two properties are <b>TRUE</b>, then the left margin should be preserved for the group rows where the property = FALSE.<br><br>For example:<br><br>ShowGroupRowCollapseGlyph = <b>FALSE </b>and ShowGroupRowExpandGlyph = <b>TRUE<br><br><img src="uploads/20100227_144851_FalseTrue.jpg" height="364" width="248" border="0"><br></b>]]>
   </description>
   <pubDate>Sat, 27 Feb 2010 14:49:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57186&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57186</guid>
  </item> 
  <item>
   <title><![CDATA[FEATURE REQ: AllowExpandCollapse &amp; BeforeExpanded : I&amp;#039;m encountering a number...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57185&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16304<br /><strong>Posted:</strong> 27 February 2010 at 1:38pm<br /><br />I'm encountering a number of problems when trying to control when groups can be expanded/collapsed by the user. For example, even though I am canceling expansion changed in the RowExpanded method (and it works when the user double-clicks groups), it partially fails when the user presses the Left Arrow key (the selection &amp; focus disappears sometimes, sometimes it moves to the top child row, even though the group remains expanded).<br><br>I think we need two features added to give us complete control of expand/collapse:<br><br><ol><li>AllowUserRowExpandCollapse - When True, users can expand/collapse rows by double-clicking them, or by clicking the glyph, or by pressing the left/right arrow keys). When False, users cannot expand/collapse rows under any of the previously mentioned circumstances, and the +/- glyphs are hidden from view. <br></li><li>BeforeRowExpandChanged(Row As XtremeReportControl.IReportRow, Cancel As Boolean) - Fired before any row is expanded or collapsed. Setting the Cancel property to TRUE would cancel the expansion/collapse of the row</li></ol><br>Some additional thoughts on #1 - maybe it would be better to be a mask of values - None, GroupRows, NonGroupRows. So you could turn off collapsing for grouprows but still allow it for regular tree-view rows? Or are tree view rows treated differently than group rows? I haven't used tree view features yet.<br><br>Any thoughts?<br>]]>
   </description>
   <pubDate>Sat, 27 Feb 2010 13:38:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16304&amp;PID=57185&amp;title=feature-req-allowexpandcollapse-beforeexpanded#57185</guid>
  </item> 
 </channel>
</rss>