Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Document new filtering syntax #900

Open
wbrgss opened this issue May 10, 2021 · 7 comments
Open

Document new filtering syntax #900

wbrgss opened this issue May 10, 2021 · 7 comments

Comments

@wbrgss
Copy link
Contributor

wbrgss commented May 10, 2021

Changes in the forthcoming #893 need to be documented:

  • #545
    • Case insensitive filtering
    • New props: filter_options - to control case of all filters, columns.filter_options - to control filter case for each column
    • New operators: i=, ieq, i>=, ige, i>, igt, i<=, ile, i<, ilt, i!=, ine, icontains - for case-insensitive filtering, s=, seq, s>=, sge, s>, sgt, s<=, sle, s<, slt, s!=, sne, scontains - to force case-sensitive filtering on case-insensitive columns
@wbrgss
Copy link
Contributor Author

wbrgss commented May 10, 2021

A good place for the new documentation would be https://dash.plotly.com/datatable/filtering

@hamogli
Copy link

hamogli commented May 18, 2021

Hi! this is awesome! have you uploaded a new version of dash data table with this new functionality? thanks in advance

@wbrgss
Copy link
Contributor Author

wbrgss commented May 18, 2021

@hamogli This new feature will be included in an umbrella dash release in the coming weeks; we will update #545 once it is out and make an announcement on the Dash community forum

@firmai
Copy link

firmai commented Jun 23, 2021

Hi, has filter_options been released, and if so, is there an example on how to use it?

@wolfgangcolsman
Copy link

I am using filter_action='custom' with a backend that does not support case-insensitive filtering. How can I remove the Toggle control?

@wolfgangcolsman
Copy link

Solution:
.dash-filter--case {
display: none !important;
}

@fletch29
Copy link

fletch29 commented Dec 31, 2022

Bump. The Dash Python > Dash DataTable > Filtering Syntax page (https://dash.plotly.com/datatable/filtering) still seems to lack documentation of the new icontains/scontains options.

Should we move this over to https://github.com/plotly/dash-docs/issues?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@fletch29 @wbrgss @firmai @wolfgangcolsman @hamogli and others