how to insert or delete row in report controls |
Post Reply |
Author | |
waterguoliang
Newbie Joined: 18 May 2014 Location: 中国 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 18 May 2014 at 2:58am |
i have to insert, delete or modify rows in report controls dynamiclly, i coded as followed: m_wndReportCtrl.BeginUpdate();
CXTPReportRow* row = new CXTPReportRow(); row->InitRow(&m_wndReportCtrl, 0, record); m_wndReportCtrl.InsertRow(cur_idx, row); insert_lrc_data->m_item_data = row; m_wndReportCtrl.EndUpdate(); but it's not work, row inserted actually, but can't be selected anymore.
what's wrong? thanks!
|
|
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 |