anvilistas / tabulator

Anvil Wrapper for Tabulator
MIT License
18 stars 5 forks source link

v6 Update Issues - app tables pagination #153

Closed NicoN13 closed 3 months ago

NicoN13 commented 3 months ago

Describe the bug With the latest v6 update, I am receiving the following error message:

LookupError: page
at app/tabulator/Tabulator/_data_loader.py, line 295
called from app/tabulator/Tabulator/_data_loader.py, line 295

My tabulator options are as follows:

TABULATOR_OPTIONS = {
            "initial_query": Query(tables.order_by("LINE")),
            "pagination": True,
            "app_table": self.scheduler_view,
            "loading_indicator": False,
            "mutator": SchedulerModel,
            "use_model": True,
            "getter": getattr,
            "index": "LINE",
            "paginationCounter":"rows",
            "paginationSize": 25,
            "paginationSizeSelector": [10,25,50,100],
            "rowHeight": '25',
            "groupBy": ["LOCATION", "PRODUCTION_AREA"],
            "groupToggleElement":"header",
            "groupStartOpen":True,
        }

where self.scheduler_view is a client_readable view on a table.

Expected behavior This was working previously, so I have reverted back to v2.2.22

s-cork commented 3 months ago

try v3.0.2