DEV Community

Cover image for How to Give Users the Power to Query Their Own Data
Patrick O'Dacre
Patrick O'Dacre

Posted on

3 1

How to Give Users the Power to Query Their Own Data

Be a hero, and give your Users the power to filter and query their own data.

The feature I've most often been asked for is some sort of ability to filter and search data.

Users love to have control and insight into their data, and often this doesn't take the form of complex graphs and charts but simple lists with search fields and filter options.

Part 1: Text Search && Tag Filtering

We'll start with a simple client list, and then add on a text search field and select box to send filters to the server that will be used in our clients database query.

  1. Search Text will apply to name fields, email, and description.
  2. Selected Client Tags will apply to any Clients that have matching tags.

In future videos we will cover other filters and options that can make our Client Grid more user-friendly.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay