I use classic Vaadin Grid. However, I want to disable the 3rd option below. The Grid needs to show only descending order or ascending order. How to disable unsorted state?
By default, this is how column sorting in the Grid works:
The first click on the column header sorts the column.
The second click reverses the sort order.
The third click resets the column to its unsorted state.
Here is my grid:
private Grid<Read> grid2 = new Grid<>(Read.class);
grid2.setColumns("type", "date", "message");
Thanks for your help.