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
I seem to be having an issue with the conditional row styling.
I follow the example in the storybook and my row styling only seems to be using the last "when" case and ignoring anything before it
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I seem to be having an issue with the conditional row styling.
I follow the example in the storybook and my row styling only seems to be using the last "when" case and ignoring anything before it
const conditionalRowStyles = (one, two) => { return [ { when: row => row.value === one, style: { backgroundColor: '#21ba45', color: 'white', }, when: row => row.value === two, style: { backgroundColor: 'orange', color: 'white', } } ] }
The text was updated successfully, but these errors were encountered: