PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: michaelgreer on April 10, 2020, 02:19:47 PM

Title: List box column sort
Post by: michaelgreer on April 10, 2020, 02:19:47 PM
I have a listview report style control for which I am trying to enable the lv'clickonhdrsort propery.  I set that property to 1, and it reports back as one, but I do not get sorting.  I'm sure there is another property that I need to adjust, but for the life of me I cannot figure out what it might be. I am seeing this at different PxPlus releases.
Title: Re: List box column sort
Post by: ksproul on April 10, 2020, 02:46:15 PM

Michael,


Try lv'SortOnHdrClick=1.  ;)

Title: Re: List box column sort
Post by: michaelgreer on April 11, 2020, 02:43:13 PM
Ken,

That is what I did.  I just named the property wrongly in my post.  FYI this is in a FACTS search window where I was trying to achieve it.  Coded an alternative.  Thanks!