How to Sort a Tree Table with ADF Bindings ? (Doc ID 1308762.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle JDeveloper - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Goal

As explained in the treeTable tag:

Unlike the Table, the TreeTable does not support automatic sorting.
The underlying TreeModel must support sorting by implementing it's sorting
logic in the setSortCriteria(List criteria) method of the TreeModel.

This can be achieved in ADF Faces - see the "ADF Faces Rich Client Components Demo" but there is no explanation on how to do it with the bindings.
This note explains a way to do it.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms