Print Page | Close Window

how to rearange rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22241
Printed Date: 15 November 2024 at 4:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to rearange rows
Posted By: vjedlicka
Subject: how to rearange rows
Date Posted: 20 March 2014 at 4:24am
I am trying to change the order of rows in a report.

I am trying this code, but do not know how to re-insert a record previously removed. What is the difference between a record and a row?



CXTPReportRecordItem* pItem = m_wndReportCtrl.GetFocusedRecordItem();
CXTPReportRecord* pRec = pItem->GetRecord();
m_wndReportCtrl.RemoveRecordEx(pRec);
m_wndReportCtrl.InsertRow(6, pRec);


-------------
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net