Search Builder#
SearchBuilder let you build complex search queries. You just need to add it to the layout
by passing e.g. layout={"top1": "searchBuilder"}
.
It is possible to set a predefined search, as we do in the below:
import itables
itables.init_notebook_mode()
df = itables.sample_dfs.get_countries(html=False, climate_zone=True)
itables.show(
df,
layout={"top1": "searchBuilder"},
searchBuilder={
"preDefined": {
"criteria": [
{"data": "climate_zone", "condition": "=", "value": ["Sub-tropical"]}
]
}
},
)