Styling Row Data with TailwindCSS #5378
Unanswered
ninoslat1
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would to share my approach for styling row data when some column contain some value
In the example above, we catch the cell value with
cell.getValue()
. After the value is checked, we check if the value is contain some value with conditional classNames. (in the example above, I added for every valid transaction, the text will be green, has a bold font, and the text is centered).Beta Was this translation helpful? Give feedback.
All reactions