Question: Data-Table with conditional text and icon in its TableItem
#2797
Labels
component: Table
For Table issues
question
Further information is requested
Waiting for author's response
In the website there is a table like this and I am trying to replicate the "Status" column where I can have either "Active" or "Disabled" with the green and grey circles to indicate status. I cannot find the code for this anywhere either.
I can set the headers like this:
And then populate these fields like this:
Like how it can be seen in the screenshot, I want either "Available 🟢" or "Disabled 🔴 " to be displayed. Another possible implementation that could work for me is adding a Green or Grey button based on the value of status.
I haven't been able to find relevant code in the documentation so far so was hoping for some help here. Thank you.
The text was updated successfully, but these errors were encountered: