' Invalid props combination' Error For DataTable

For some reason I’m getting this weird error on my Dash interface after I try to make each page have 5 rows of data for the application I’m creating. The parameters for the DataTable function is shown below:

 dash_table.DataTable(
                        id='main_datatable',
                        editable = True,
                        filtering=True,
                        sorting=True,
                        sorting_type="multi",
                        row_selectable="multi",
                        columns=[{"name": i, "id": i} for i in small_df.columns],
                        pagination_settings={
                                                'current_page': 0,
                                                'page_size': PAGE_SIZE,
                                           
                                            },
                        pagination_mode='be',
                        data=small_df.to_dict("rows"))

Can anyone assist me in as to why this is happening?

Also, the Dash documentation page doesn’t have code snippets for how they implemented the 'previous page and 'next page buttons. Any quick insights/code snippets as to how that’s implemented?

@chriddyp any thoughts as to why this is happening?

Hi,
custom pagination and native filtering together causes the Invalid props combination messages, so these settings are not compatible as far as I have seen.
i)

1 Like