Closed Bug 56694 Opened 24 years ago Closed 24 years ago

facilitate sharing of tree column sorting code

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jag+mozbugs, Assigned: jag+mozilla)

References

Details

There's some duplication in tree column sorting code, this should be moved into its own file so it can be shared by a number of clients (basically all those who want column sorting in trees). Alternatively this code could be integrated into the tree itself. hyatt, any thoughts on this? For a work in progress treeSort.js which provides both bi state and tri state sorting, see the patch attached to bug 53865.
Should probably be built into XBL.
Status: NEW → ASSIGNED
Okay, sounds good, XBL it is. To clarify, what I'm talking about is the doSort javascript code which determines what currently is being sorted on, and which order, then determines what the next state should be and calls the XUL Sort Service accordingly. I've basically got something for all clients but mail/news, next I'm going to look at mail/news and see how they use the XUL Sort Service and if/how I can integrate that.
Blocks: 53865
Assignee: jag → jaggernaut
Status: ASSIGNED → NEW
->wontfix, tree is dead, long live the outliner!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.