Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - I can’t add a new record on collapsed one
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I can’t add a new record on collapsed one

 Post Reply Post Reply
Author
Message
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: I can’t add a new record on collapsed one
    Posted: 27 October 2005 at 6:21am

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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 11:45am
Ok, take a look at the new fix
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 12:10pm

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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.