Hi all, I’m aiming to create a screen with a split view, In the first split I need a filter and in the second I need the data. This is simple but if i set the width of the first part to something (for example 400px) when the user adds search conditions all of them are added in one row, this is a problem for the user.
Is there a way to overwrite the layout of the filter or is it possible to achieve a similar result using the build in filters.
Here, we define filter element and declare additional conditions. Finally, apply filter on button click:
public class ExtAppMainWindow extends AppMainWindow {
@Inject
private CollectionDatasource<User, UUID> usersDs;
public void applyFilter() {
usersDs.refresh();
}
}
Using this approach you can implement custom filter layouts in any screen / panel / etc, but you are limited with predefined conditions in datasource definition.