Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » BUG: ArrayCtrl - sorting (Does not sort when content uses Attrtext)
Re: BUG: ArrayCtrl - sorting [message #44242 is a reply to message #44241] |
Wed, 11 February 2015 09:12   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Hi,
1: you really cannot do that. Callback has to do copy of additional parameters. Using pointer there, as you did, is completely adquate.
2: AttrText, at this time, does not have defined ordering. It was originally meant as simple utility. If you need Sorting, you must use normal text and add its decorations by using Display.
However, that said... I am often running into the same issue with AttrText, and in fact it is technically possible to change it in a way that will make direct using for sorting (and other things...) possible. I am adding this as feature request, so sooner or later it will be possible....
Mirek
|
|
|
Goto Forum:
Current Time: Mon Jun 16 05:56:06 CEST 2025
Total time taken to generate the page: 0.05006 seconds
|