Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] A Proper filter type for columns with type select #1129

Open
abah19vo opened this issue Dec 9, 2024 · 1 comment
Open

[Feature] A Proper filter type for columns with type select #1129

abah19vo opened this issue Dec 9, 2024 · 1 comment
Labels
enhancement New feature or request stale This issue is stale because it has been open for 30 days with no activity.

Comments

@abah19vo
Copy link

abah19vo commented Dec 9, 2024

[Feature] Add Proper Filter Type for Columns with "Select" Type in PlutoGrid

Feature Description

Currently, PlutoGrid supports filtering on its columns; however, for columns with the type select, the filtering mechanism could be improved to offer a more intuitive and user-friendly experience. This feature request proposes adding a specialized filter type for select columns to allow users to choose from predefined options directly.

Problem Statement

  • Filtering select columns currently relies on generic filter mechanisms, which may not leverage the pre-defined options effectively.
  • Users have to manually input values for filtering, which can lead to errors, such as mismatching cases or typos.
  • The current experience is less efficient, particularly when the list of select options is extensive.

Proposed Solution

  • Introduce a dropdown or similar UI component in the filter menu for select columns.
  • Populate the dropdown with the pre-defined options specified for the select column.
  • Allow multi-select functionality (if applicable) to filter by multiple options at once.
  • Ensure the filter respects the case sensitivity or insensitivity defined by the grid's settings.

Expected Outcome

  • A more user-friendly filtering experience for select columns.
  • Reduced user errors when filtering.
  • Increased efficiency, especially for columns with a large set of pre-defined options.

Additional Notes

  • This feature should be backward compatible with existing PlutoGrid implementations.
  • Consider allowing customization for dropdown style or behavior (e.g., single-select vs. multi-select).

Implementation Ideas

  1. Extend the PlutoGridColumnType to include a dedicated filterType for select columns.
  2. Create a dropdown filter widget tied to the column's select options.
  3. Integrate this filter into the filtering logic of PlutoGrid to ensure proper handling of selected values.

Priority

Medium

Labels

feature-request, enhancement, usability

Let me know if you want to include more technical details or examples!

@abah19vo abah19vo added the enhancement New feature or request label Dec 9, 2024
Copy link

github-actions bot commented Jan 9, 2025

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This issue is stale because it has been open for 30 days with no activity. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale This issue is stale because it has been open for 30 days with no activity.
Projects
None yet
Development

No branches or pull requests

1 participant