Sort Column based on Right Clck Menu Option ? |
Post Reply |
Author | |
shanmuganathan
Groupie Joined: 01 December 2006 Status: Offline Points: 49 |
Post Options
Thanks(0)
Posted: 23 March 2010 at 9:29am |
Hi All,
I have created a sample application using CXTPReportControl which contains 5 columns and added default data in the grid. Scenario 1: When i click on the specific column header(Left Mouse click) the sorting works fine. Scenario 2: I have added all column names in a menu option. When i right click on any column header and select a menu option for example company, i want the data in the grid to be sorted based on company column? I am using Xtreme ToolkitPro v12.1.1. Please let me know your suggestion about the same. Thanks in Advance. |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
Take a look at CXTPReportControl::GetColumns()->GetSortOrder()->Add() |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |