JDK-8100555 : onSort event for TableColumn
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-10-21
  • Updated: 2015-06-16
  • Resolved: 2013-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Description
We are doing a dynamic load of TableView's data for searching and paging purposes.  We would like to have an onSort event on the table's columns that we can intercept and consume to load the new paged data.  

Comments
Changeset: 65ab9f40d9ca Author: jgiles Date: 2013-03-08 15:47 +1300 URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/65ab9f40d9ca Improved sorting APIs for TableView and TreeTableView, including: RT-17550: onSort event for TableColumn RT-19482: TableView: make sort() (or similar) methods public Also includes a number of new unit tests for the new API.
08-03-2013

Speaking to others who are interested in this API, the requirement to 'consume' the event to prevent it getting to the TableView is important. If the event is consumed, the TableView should not run its default sorting operation.
23-02-2012