Print Page | Close Window

How collapse & expand group rows?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12925
Printed Date: 14 November 2024 at 6:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How collapse & expand group rows?
Posted By: mozaheb
Subject: How collapse & expand group rows?
Date Posted: 15 December 2008 at 2:56am
Hi all

Help me for How collapse & expand groups in RC?

Thank's
Yousof Mozaheb



Replies:
Posted By: Aaron
Date Posted: 15 December 2008 at 2:28pm
Hi,
 
If you click plus/minus sign the grouprow will be collapsed / expanded.
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: joeliner
Date Posted: 15 December 2008 at 3:24pm
probably he meant by code. Be explicit in what you ask that makes it easy for someone to help. By code:

Dim GroupRow As ReportRow

Public Function expand_Thisgroup(wndcontrol As ReportControl)
    For Each GroupRow In wndcontrol.Rows
        If wndcontrol.FocusedRow.GroupRow = True And GroupRow.Selected = True Then
        If GroupRow.GroupRow Then GroupRow.Expanded = True
        End If
    Next
End Function


-------------
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6


Posted By: mozaheb
Date Posted: 16 December 2008 at 2:34am
Thank's Joeliner

Hi Aaron  i want collapse & expand group rows with code...

Thank's again Joeliner



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net