Skip to content

[Admin] Spreadsheet-style column filtering UI. #37

Open
@collinanderson

Description

@collinanderson

Code of Conduct

  • I agree to follow Django's Code of Conduct

Feature Description

[Admin] Spreadsheet-style column filtering UI for Equals, Contains, Startswith, Greater than, etc.

Problem

By default Django admin allows you to click a column to sort it. It would be nice to also have a simple spreadsheet style filtering UI for Equals, Contains, Startswith, Greater than, etc. Excel and Google Sheets have a UI for this that's worth mimicking for people who are familar with that UI.

Request or proposal

proposal

Additional Details

Excel:
Image Image

Google Sheets:
Image

Implementation Suggestions

For starters, this would mostly just need to be a UI that builds query parameters that are already supported. ?id__gt=2, text__contains=test, etc. The backend needs to tell the front end what the column type is (numeric vs text), but otherwise this is mostly javascript work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdminThird Party PackageThis idea is suitable for the third party package ecosystem

    Type

    No type

    Projects

    Status

    Idea

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions