[SOLVED] Problem on adding child row with editing |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
Posted: 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 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi;
Forget it; just found Report_.GetFocusedRow()->SetExpanded() |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
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 |