Print Page | Close Window

I can’t add a new record on collapsed one

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=3107
Printed Date: 07 May 2024 at 5:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: I can’t add a new record on collapsed one
Posted By: Jebo
Subject: I can’t add a new record on collapsed one
Date Posted: 27 October 2005 at 6:21am

http://forum.codejock.com/uploads/Jebo/2005-10-27_061858_CodeJock.zip - 2005-10-27_061858_CodeJock.zip

Please i can't add any new record to a collapsed rows!

If i try this ALL ROWS are EXPANDED!

Please see my sample to understand me!

Thank you 4 any help!
Jebo




Replies:
Posted By: SuperMario
Date Posted: 27 October 2005 at 9:25am
I sent you a possible workaround....problem is that a call to populate expands all group rows. 

So my workaround is to use a flag that will be true when you add new records, then in the Row_Expand event check this flag to see if Populate needs to be called and remember to set the flag back to false.

hope this helps


Posted By: Jebo
Date Posted: 27 October 2005 at 9:55am

Thx SuperMario

But your workaround doesnt work - because if the GroupRow is already expanded, no new record will be show!

And if i click on any collapsed row with new records inside the complety reportControl will expand ALL Records again!

Jebo



Posted By: SuperMario
Date Posted: 27 October 2005 at 11:45am
Ok, take a look at the new fix


Posted By: Jebo
Date Posted: 27 October 2005 at 12:10pm

very bad performance with more then 30.000 rows, but thank you for help!




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