Permanently remove rows in Report Control |
Post Reply |
Author | |
spike
Groupie Joined: 13 May 2003 Location: United States Status: Offline Points: 48 |
Post Options
Thanks(0)
Posted: 30 July 2004 at 3:44pm |
Has anyone figured out how to remove rows from the report control? It seems that when you call RemoveAt on the CXTPReportRows collection it will remove the row from the UI (but only after you call RedrawControl) but the next time Populate is called the deleted rows show back up like they are cached somewhere else in the control... Any ideas? Thanks Craig |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Try using the RemoveAt on the ReportRecords collection using something like:
m_wndReport.GetRecords()->RemoveAt(x) The you must call Populate to update the changes. Each Row points to a Record, you must remove the record that the row points to, or it will just be drawn again. At least this is how it works in the ActiveX version.... |
|
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 |