[SOLVED] CXTPReportRow::GetIndex() question |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
Posted: 26 May 2011 at 6:11am |
Hi;
When using the report control in tree like mode I have troubles in getting the right row index within the record collection. Take a look at the screenshot: When the "Test 1" row is collapsed I get the right index with the tree depth level 0 for the last row (= Index 5). But when the "Test 1" row is expanded I get row index 7. So far so good! I now want the row to be moved one up within its record collection, so I want the last row to become the row just below the row titled "k". To determine this I need the index of the row titled "Test 1" that has the same tree depth as the last row. Is there a way to get this row (index) very fast without iteration over all records in the collection? Are functions available to get this info? |
|
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 my post, I found the real simple solution after a few minutes of thinking |
|
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 |