« Return to Thread: qx.ui.table.model.Simple.setSortMethods()

qx.ui.table.model.Simple.setSortMethods()

by Ian Horst :: Rate this Message:

Reply to Author | View in Thread

I wonder why there are 2 sort methods, one for ascending, second for descending.

It's enough to define ascending sort method. Descending is just
reverse of ascending sort method.

ascending:
ascSortMethod();

descending:
- ascSortMethod();

---
Ian

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: qx.ui.table.model.Simple.setSortMethods()