You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell, the only way to style different th and td cells is to have a bunch of if/else statements within the table, checking the id?
Is there no way to define this when defining the columns?
There is the prop …rowAttrs and …attrs which get applied. It really seems like these could be utilized more, whereby we can set information in them and then keep the table itself clean from a bunch of if/else…
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From what I can tell, the only way to style different th and td cells is to have a bunch of if/else statements within the table, checking the id?
Is there no way to define this when defining the columns?
There is the prop …rowAttrs and …attrs which get applied. It really seems like these could be utilized more, whereby we can set information in them and then keep the table itself clean from a bunch of if/else…
Beta Was this translation helpful? Give feedback.
All reactions