Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Sorting problem after adding a column
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sorting problem after adding a column

 Post Reply Post Reply
Author
Message
raz0r007 View Drop Down
Newbie
Newbie


Joined: 26 September 2025
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote raz0r007 Quote  Post ReplyReply Direct Link To This Post Topic: Sorting problem after adding a column
    Posted: 26 September 2025 at 8:18am
Hello,

I´m using toolkit pro for C++ and I realized that after adding a column if there was a sorted column , its lost.

How can we solve it?

Tried to save the sorted column to restore the status after adding a column doing this

colums->GetSortOrder()->Clear();
colums->InsertSortColumn(sortedCol);
cSortedCol->SetSortIncreasing(asc);

But it doesn´t work.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.043 seconds.