Skip to content

Improving table search using partial_template and django_htmx. #510

@Antoliny0919

Description

@Antoliny0919

Tables often provide a wide range of filter options.
For example, Django admin’s ChangeList offers features like column sorting, search, filter sidebar, date hierarchy, and pagination — all within a single screen.

Similarly, the snippet table on the djangosnippets site also includes many filtering features (pagination, search, date filters).
Since these filters only affect the table itself, I believe using htmx and partial_template to re-render just the table can provide a more seamless and natural user experience without a full page refresh.

Additionally, if this functionality is implemented, there may no longer be a need to provide a separate Search page.
In fact, the current Search page supports two identical input fields, which feels a bit redundant and awkward.

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions