Skip to content

Commit

Permalink
Should be adding column to sort order.
Browse files Browse the repository at this point in the history
  • Loading branch information
niyid committed Nov 9, 2019
1 parent fe75046 commit 0cd9b50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ public void updateItem(final OfferListItem newItem, boolean empty) {
tableView.getColumns().add(volumeColumn);
volumeColumn.setComparator(Comparator.comparing(item -> item.offer.getPrice()));
volumeColumn.setSortType(TableColumn.SortType.ASCENDING);
tableView.getColumns().add(volumeColumn);
tableView.getSortOrder().add(volumeColumn);

tableView.getColumns().add(amountColumn);
tableView.getColumns().add(priceColumn);
Expand Down

0 comments on commit 0cd9b50

Please sign in to comment.