Comments 5Jottes started the conversationOctober 22, 2017 at 4:43pmHi,I have boolean values in a table. Is there a way I can change the way it's displayed? Right now, all I see is 0 or 1.I cannot use a join since I need to be able to update the values.Thank you.Johannes 5Jottes repliedOctober 22, 2017 at 5:17pmNever mind - I figured it out. You have to create a table with the boolean values and their display name, like this: 0 - inactive 1 - active Then you can create a wpDataTable from it and then refer to it in the table you'd like to present the value in. See description here: https://wpdatatables.com/documentation/front-end-editing/configuring-table-relations-foreign-key/Ticket can be closed 472Isidora repliedOctober 22, 2017 at 9:32pmHi Johannes,Thank you for your purchase.We are glad that you find a solution. If you have any more issues feel free to open a new ticket, we will gladly help. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks! Kind Regards, Isidora Markovic wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs You can try our wpDataTables add-ons before purchase on these sandbox sites: Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables Sign in to reply ...
Hi,
I have boolean values in a table. Is there a way I can change the way it's displayed? Right now, all I see is 0 or 1.
I cannot use a join since I need to be able to update the values.
Thank you.
Johannes
Never mind - I figured it out.
You have to create a table with the boolean values and their display name, like this:
0 - inactive
1 - active
Then you can create a wpDataTable from it and then refer to it in the table you'd like to present the value in.
See description here: https://wpdatatables.com/documentation/front-end-editing/configuring-table-relations-foreign-key/
Ticket can be closed
Hi Johannes,
Thank you for your purchase.
We are glad that you find a solution.
If you have any more issues feel free to open a new ticket, we will gladly help.
We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables