Package su.onno.ui

Class ListDataController

java.lang.Object
su.onno.ui.ListDataController

@RestController @RequestMapping("/api/list") public class ListDataController extends Object
Serves pages of list data to the list grid. The default is keyset (seek) pagination: the client passes an opaque cursor (the nextCursor from the previous window) plus a limit, and the server seeks straight to the next window with an indexed comparison — so page 1 and page 10 000 cost the same, and rows are never skipped/duplicated when data shifts mid scroll. The envelope is {rows, nextCursor, hasMore}; a COUNT runs only when the client opts in via ?count=exact (or estimate for a cheap planner figure), since the scroller needs hasMore, not a live total, to keep loading. Sort, case-insensitive search, and column filters are applied server-side; the descriptor (columns, labels, sort, actions) comes from the DivKit list surface.