Community
Participate
Working Groups
The current sorting mechanism provided with XViewer does not allow users to disable sorting - but sometimes this is needed eg. for composites which support paging and only show a part of the resultset in the viewer. In this case a click on a column-header should fire sth. like a 'SortingChangedEvent'. Clients can catch this event to build up a new sql-result or to sort the whole resultset and then set the new input to the viewer. My proposal would be: - add method to xViewer/xViewerFactory: setSortingType(Enum<Normal, NewInput, None>) - add method to xViewer/xViewerFactory: addSortingChangedListener(...) - for type 'NewInput' fire a 'SortingChangedEvent' with the new sorting as data and let clients decide to manipulate/refresh the viewer by adding new input.
sounds fine to me, if you would like to provide the enhancement via a patch, I'll be happy to take a look
Provide patch through new bugzilla when able.