![]() |
[SOLVED] Problem on adding child row with editing |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: [SOLVED] Problem on adding child row with editingPosted: 22 April 2011 at 7:51am |
|
Hi;
I use this code to add a new record to a parent record and immediately start editing this item (emulating windows explorer "add new folder" command).
When the parent row is expanded everything works fine, but in collapsed state nothing happens (XTP_NM_REPORT_EDIT_CANCELED is called immediately). Whats the right sequence to solve this? |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2011 at 8:01am |
|
Hi;
Forget it; just found Report_.GetFocusedRow()->SetExpanded() |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |