Hello-
We created a grid and populated the data using a boolean. However, when the data is displayed on the live site it reads “True.” Is it possible to have it display as check mark instead of the work True? The image wix uses when first creating a grid has check marks. What am I missing? See screen shot. Thanks!
Has come up before. The grid cannot do this. I believe the lower screen shot is the table component, isn´t it?
You have 2 options:
- keep the grid and add code to do the query. Then iterate thru the resulting array, look for a “true” and replace that cell with an image of a checkmark, and a blank image if false
2)use a repeater. Put in a checkbox for this field with “enabled” set to false
The lower image I posted is the default item when adding a Wix table to your site. Why would Wix display this if its not possible? See screen shot.
I think that example actually shows an Image, not a boolean. You could solve it this way, putting an image field (well, 2) in your dataset instead of the booleans and in Content Manager select an image of a checkmark. I tried and that works fine.
You can also use text (check-mark Unicode character) like: ✓ or
Thank you, the Unicode check mark is perfect. I apologize because this my first time doing this. In the data collection, do I change it a “text” field and enter the “U+2714” for the heavy check mark code? I am not sure where to input the Unicode symbol. Thanks you!
@jcalcott you can do it, but if I you know how to write some basic code, I’d recommend to leave the data in the collection as Boolean, and assign the check mark to the table if x is true.
If you decide to change the field to text in your collection, then just put in the cell.
I am pretty new to wix, I have run in to the same issue and would like to display the checkmark but want to leave the value as a boolean. How would I go about coding this to keep the boolean data and show it as a checkmark?