Allow max page size 50000 #1185

This commit is contained in:
SPRINX0\prochazka
2025-08-26 10:30:30 +02:00
parent e88092cde7
commit 003dec269a
4 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@
const nextRows = await loadDataPage(
$$props,
loadedRows.length,
getIntSettingsValue('dataGrid.pageSize', 100, 5, 1000)
getIntSettingsValue('dataGrid.pageSize', 100, 5, 50000)
);
if (loadedTimeRef.get() !== loadStart) {
// new load was dispatched

View File

@@ -144,7 +144,7 @@
}
function openQueryOnError() {
openQuery(display.getPageQueryText(0, getIntSettingsValue('dataGrid.pageSize', 100, 5, 1000)));
openQuery(display.getPageQueryText(0, getIntSettingsValue('dataGrid.pageSize', 100, 5, 50000)));
}
const quickExportHandler = fmt => async () => {

View File

@@ -157,7 +157,7 @@ ORDER BY
<div class="heading">Data grid</div>
<FormTextField
name="dataGrid.pageSize"
label="Page size (number of rows for incremental loading, must be between 5 and 1000)"
label="Page size (number of rows for incremental loading, must be between 5 and 50000)"
defaultValue="100"
/>
<FormCheckboxField name="dataGrid.showHintColumns" label="Show foreign key hints" defaultValue={true} />

View File

@@ -51,7 +51,7 @@
}
async function loadNextRows() {
const pageSize = getIntSettingsValue('dataGrid.pageSize', 100, 5, 1000);
const pageSize = getIntSettingsValue('dataGrid.pageSize', 100, 5, 50000);
const rows = await apiCall('jsldata/get-rows', {
jslid,
offset: loadedRows.length,