U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl: Add Option inside a column header
Next Topic: GridCtrl: How to display a menu on header right click?
Goto Forum:
  


Current Time: Thu Aug 27 11:17:38 GMT+2 2026

Total time taken to generate the page: 0.01166 seconds