![]() |
How to sort column after populating? |
Post Reply
|
| Author | |
Alexey2
Senior Member
Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Topic: How to sort column after populating?Posted: 12 January 2008 at 5:39pm |
|
Is it possible?
|
|
![]() |
|
wlcabral
Groupie
Joined: 25 April 2007 Location: Brazil Status: Offline Points: 72 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 January 2008 at 2:52pm |
|
try :
nCol = 3
xTremeReportControl.SortOrder.DeleteAll() .xTremeReportControl.columns.Column(nCol).SortAscending = true xTremeReportControl.SortOrder.Add( xTremeReportControl.columns.Column(nCol) ) xTremeReportControl.populate() |
|
![]() |
|
Alexey2
Senior Member
Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 January 2008 at 3:45am |
|
xTremeReportControl.SortOrder.Add( xTremeReportControl.columns.Column(nCol) )
Wrong code.
|
|
![]() |
|
Alexey2
Senior Member
Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 January 2008 at 3:48am |
|
xTremeReportControl.SortOrder.Add xTremeReportControl.columns.Column(nCol)
This is ok. Thank you!
|
|
![]() |
|
wlcabral
Groupie
Joined: 25 April 2007 Location: Brazil Status: Offline Points: 72 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 January 2008 at 1:37pm |
|
The code was ok ... for MS Visual Foxpro :)
|
|
![]() |
|
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 |