Boolean column in table change icon, colors

how i can manage boolean column in table component?

in my db i got if field = 1 is true and 0 is false but is not working on table visually they should not show checkmark in two of those 3 records as they have field = 0 in db, how i can manage that icon?

You have to make sure the values you are retrieving are in fact 1 or 0
Otherwise you could put {{item === 1?true:false}} in the Mapped value field

1 Like