![]() |
AllowColumnResize is not working |
Post Reply
|
| Author | |
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: AllowColumnResize is not workingPosted: 01 January 2024 at 8:45pm |
|
I added columns
long nItem = 0; CXTPReportColumn* pCol1 = m_lstReport.AddColumn(new CXTPReportColumn(nItem++, "money", 60, FALSE)); pCol1->GetEditOptions()->m_bAllowEdit = FALSE; CXTPReportColumn* pCol2 = m_lstReport.AddColumn(new CXTPReportColumn(nItem++, "tax", 60, FALSE)); pCol1->GetEditOptions()->m_bAllowEdit = FALSE; ... I set extra settings form m_Report typed CXTPReportControl m_Report.GetPaintManager()->m_strNoItems = "no data"; m_Report.GetReportHeader()->AllowColumnRemove(FALSE); m_Report.GetReportHeader()->AllowColumnResize(TRUE); m_Report.GetReportHeader()->SetAutoColumnSizing(FALSE); m_Report.GetReportHeader()->AllowColumnSort(TRUE); m_Report.AllowEdit(TRUE); m_Report.FocusSubItems(FALSE); m_Report.SetGridColor(RGB(222, 222, 222)); m_Report.SetFreezeColumnsCount(4); m_lstReport.Populate(); the result is that columns can't be resized with resizing arrow what factors make not resizing the report column ex>SetAutoColumnSizing(FALSE); or something |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(1)
Quote Reply
Posted: 02 January 2024 at 5:24am |
|
Don't know if it just a mistype, but you are using m_lstReport and m_Report as the same member to the grid control?
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2024 at 3:56am |
|
1st of all thank for the reply and sorry for the late reply to you since I solve the problem and didn't hesitate to check the post again. but I found the cause somewhere else. your reply really make cheer me up! THX!!! |
|
![]() |
|
agontarenko
Moderator Group
Joined: 25 March 2016 Status: Offline Points: 332 |
Post Options
Thanks(1)
Quote Reply
Posted: 04 January 2024 at 5:13am |
|
Hello, So problem is solved? Regards, Artem Gontarenko
|
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2024 at 8:48pm |
|
yes, thank you for your concern and reply
|
|
![]() |
|
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 |