You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Greetings. It seems like there is a bug with native filtering when it is used on the datatable with pagination after page 1. The datatable documentation version works but it could be due to custom filtering?
Please see this gif below:
It is rather small to see but basically when I am in page 2 and type "Cal" or "Texas", the datatable returns empty (even when Texas is in page 2). This has been tested on a larger dataset and the same issue occurs.
Below is the full sample code that replicate this issue:
import dash
import dash_table
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
app = dash.Dash(__name__)
app.layout = dash_table.DataTable(
id='table',
columns=[{"name": i, "id": i} for i in df.columns],
data=df.to_dict('records'),
filter_action="native",
row_selectable="multi",
page_action="native",
page_current=0,
page_size=5,
)
if __name__ == '__main__':
app.run_server(debug=True)
The text was updated successfully, but these errors were encountered:
Greetings. It seems like there is a bug with native filtering when it is used on the datatable with pagination after page 1. The datatable documentation version works but it could be due to custom filtering?
Please see this gif below:
It is rather small to see but basically when I am in page 2 and type "Cal" or "Texas", the datatable returns empty (even when Texas is in page 2). This has been tested on a larger dataset and the same issue occurs.
Below is the full sample code that replicate this issue:
The text was updated successfully, but these errors were encountered: