PixInsight Forum (historical)
Software Development => PCL and PJSR Development => Topic started by: mschuster on 2012 September 24 11:38:02
-
I'd like to be able to customized TreeBox header sorting with a pair of comparison functions for each column, one for ascending sorts and the other for descending sorts.
Thanks,
Mike
-
I second. Although we need a single comparator function.
An onSort event or something similar (a way to know that the order changed or which column is being sorted).
--bitli
-
A single function is fine, but of course it needs arguments describing which column and whether ascending or descending. Also, the pair being compared needs to be specified by the child indices rather than the actual text contents of the cells. This for most flexibility.
-Mike
Update: Support for header toolTips would be nice also.