Skip to content

Listview Search Filter

Compare
Choose a tag to compare
@simov simov released this 05 Jan 19:48
· 230 commits to main since this release
  • Listview search filter
  • Custom column ordering
  • Fixed redirect to last active page in Listview after certain actions taken inside the Editview

There is a new option available for each table's listview key inside settings.json
http://simov.github.io/express-admin-site/#settingsjson

"table_name": {
    ...
    "listview": {
        "order": { ... },
        "page": 25,
        "filter": ["column_name1", "column_name2" ...]
    }
}

Add any table's column including oneToMany and manyToMany columns. Pull the latest examples from https://github.com/simov/express-admin-examples/ and take a look at the controls table to see how all currently available control types look like inside the Filter panel.

To expand the Filter panel click on the small icon next to the Listview's title.

All filtering options set inside the Filter panel are perceived through the entire user's session. Click on the Clear button at any time to clear the filtering options.