[data grid] "singleSelect" column type is not working for columns with multiple values in single columns as comma-separated Values #17079
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: logic
Logic customizability
feature: Filtering
Related to the data grid Filtering feature
new feature
New feature or request
status: waiting for author
Issue with insufficient information
Summary
I have a column where multiple values need to be displayed in renderCell and stored as a comma-separated string using valueGetter. However, when I set the column type to singleSelect and provide the values for rendering, filtering does not work as expected.
If I select a single value in the filter, and that value is present in a row with multiple comma-separated values, the row is not returned because it contains additional values alongside the selected one."
Examples
For example, consider a Status column with the following values:
User 1: "Started, Midway"
User 2: "Processed, Completed"
If I set the column type to singleSelect and provide the values to valueOptions for the select dropdown:
Available options in filters dropdown: "Started", "Midway", "Processed", "Completed"
When selecting any of these options, filtering does not work correctly for predefined operators like "is", "is not", and "is any of", because the column contains multiple comma-separated values instead of a single distinct value.
Motivation
No response
Search keywords: singleSelect, column types, multiple values
The text was updated successfully, but these errors were encountered: