I am trying to do a string search on TreeTable. On entering the matching string, the selected row is displayed on the frame. The issue I have is that my TreeTable contains columns of different objectstype. I would like to pass only the columns of ObjectType (String).
I am currently passing all columns of the Treetable.
TreeTable.getColumns().stream().map(column -> column.getId().toString()).collect(Collectors.toList())));
Is there a way to filter the columns based on column objecttype (String) as parameter for my string search.
Thank You for help.