On Thu, Jan 31, 2013 at 6:56 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
> I've implemented a COLUMNCLICK event handler in a listview report that
> uses the sortItems method to change the column sort order using
> InternalListViewSort. The sortItems method always returns .true but there
> is no visual change in the listview window. Tracing the event all looks
> good:
>
> 113 *-* if column = g.sortParms~column
> >>> "0"
> 117 *-* else
> 117 *-* do
> 118 *-* g.sortParms~column = column
> 119 *-* g.sortParms~caseless = .TRUE
> 120 *-* g.sortParms~ascending = .TRUE
> 121 *-* end
> 123 *-* g.listView~sortItems(InternalListViewSort, g.sortParms)
> >>> "1"
>
> Any suggestions?
>
My tongue in cheek answer would be the column is already sorted.
However, the next question is, have you attached a LvFullRow object as the
data item for every item in the list-view? If not, the sort won't work.
If you attach a LvFullRow object as the data item for some, but not all, of
the list-view items, the outcome is non-deterministic.
Other than that, I'd have to see all of the code to give an answer.
--
Mark Miesfeld
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users