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

Support for Row-Level Conditional Thresholds in Data Tables #209

Open
punu1103 opened this issue Dec 31, 2024 · 0 comments
Open

Support for Row-Level Conditional Thresholds in Data Tables #209

punu1103 opened this issue Dec 31, 2024 · 0 comments

Comments

@punu1103
Copy link

🎉 First of all, congratulations on the amazing work with this plugin!

I have a use case where a data table displays two types of data for each row:

On-date values (e.g., daily metrics)
Cumulative values (e.g., aggregated totals)

Each of these value types in the same column can have different thresholds for conditional formatting. For example:

On-date values: A value >= 200 is considered green.
Cumulative values: The same value (>= 200) is considered red, but it becomes green only when > 1500(example).

Requirement:
I need the ability to set different thresholds for rows within the same column based on the type of data (e.g., on-date vs. cumulative). Currently, it appears that column-level thresholds apply uniformly to all rows, which does not support my use case.

Example Table:
Date Metric Type Value Status Color
2024-01-01 On-date 250 Green
2024-01-01 Cumulative 250 Red
2024-01-02 On-date 300 Green
2024-01-02 Cumulative 550 Green

Desired Functionality:

Allow conditional thresholds to be applied at a row level, not just a column level.

Questions:
Is there a way to Achieve this ?
Is there a way to implement this in the current framework (e.g., using custom rendering or logic overrides)?
If not, would it be possible to add support for row-level conditional thresholds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant