-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Color field format should apply to the whole cell in data table #9834
Comments
|
When returning the field adding a with the proper css to fill out the table space and apply the right color might be a good way to do this.
|
@elvarb Not sure what happened, but it looks like maybe an image or some text got cut out of your comment? |
@elvarb Could you repost your comment? Investigating how to tackle this now. Any hints on a place to start would be appreciated. |
Maybe this fxprunayre@9953d6c could be an option to make progress on this ? Truncating field when a formatter returns HTML probably does not make much sense. I'm quite new in here, so any suggestion for a better approach is welcomed too! See also https://discuss.elastic.co/t/cell-background-color-instead-of-text-only/152492 |
Think my original text included a div or span html tag |
We plan on addressing this formatting requirement via Lens in #101942 Lens currently supports this style of data table coloring for number fields as of ~7.14 |
The current styling of the color field formatter currently highlights just text. This does not look very clean and makes the text a bit hard to read. How about coloring the whole cell instead?
@ppisljar @thomasneirynck @cjcenizal Thoughts?
The text was updated successfully, but these errors were encountered: