demiangomez / Parallel.GAMIT

Python wrapper to parallelize GAMIT executions
BSD 3-Clause "New" or "Revised" License
37 stars 20 forks source link

Change page 1,2,3... to scrollbar for station information #73

Closed demiangomez closed 2 months ago

demiangomez commented 2 months ago

When loading the station info for viewing or editing, use a scrollbar instead of pages to show the data. This facilitates viewing of the information.

image

demiangomez commented 2 months ago

@Salacas I couldn't resist and I had to look on how it's done: it seems that if you change the limit on const bParams: GetParams = useMemo(() and REGISTERS_PER_PAGE to, say, 15, the list becomes long enough to hold most station info records and a scrollbar appears automatically, like this:

image

This is more than enough for our purposes (although with more than 15 records we will have two pages, but that's fine), so if you apply this change to your code we can close this issue.