Modifying CSS classes on a row based on editable content state #3575
Unanswered
brandondurham
asked this question in
Q&A
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’m working with the Editable Data example and it’s going swimmingly. One feature I need to add that I’m unsure of is the ability to set CSS classes on row based on the state of the data. For instance:
firstName
column and that column is editable;.active
class added to it (either within anonFocus
oronChange
event);onBlur
or hit theEnter
key), that row will also get a.updating
class;.active
and.updating
classes are removed;.updating
is removed and a new.errored
class is added.Suggestions around intelligent ways to pass CSS classes around to the parent row like this based on a Cell’s editable input value?
Really appreciate any help I can get!
Beta Was this translation helpful? Give feedback.
All reactions