Hi,
I want to get all data loaded in grouptable but i am able to get only 10 data since pagination is set to 10.
as per shared image there is 160126 i want to get all data.
@Autowired
private Table casesesTable;
Hi,
I want to get all data loaded in grouptable but i am able to get only 10 data since pagination is set to 10.
as per shared image there is 160126 i want to get all data.
@Autowired
private Table casesesTable;
Hi
You can either add “itemsPerPageUnlimitedOptionVisible” property as follows:
<simplePagination itemsPerPageVisible="true" itemsPerPageUnlimitedOptionVisible="true" />
or remove simplePagination component from screen xml descriptor.
Note: you may also have to tweak fetchSize configurations as described by the following link: https://docs.jmix.io/1.x/jmix/1.5/ui/app-properties.html#jmix.ui.entity-page-size
There is casesesTable.getLookupSelectedItems()
in DataGrid i want similar method type to fetch all data fetched on working not 10 or 20 as per pagination.
Added below code but it is showing same data as per pagination on controller.
<simplePagination itemsPerPageVisible="true" itemsPerPageUnlimitedOptionVisible="true" />
To have no pagination you should select void from “Rows per page” control
Hi,
I want my workbench to work as per pagination but for some scenario i want all records that will be loaded like on every page there is 10 records loaded but if you check 160126 data will be loaded.
So how to get these records for doing some activity.
getLookupSelectedItems() currently gigng zero output but in datagrid i am able to get all records.
then you can add “Lookup Mode” detection to your Screen and remove pagination programmatically, like follows:
@Subscribe
public void onBeforeShow(final BeforeShowEvent event) {
if (getSelectHandler() != null) {
casesesTable.setPagination(null);
}
}