I was creating a simple table using the WPDataTables native table maker. It consists nearly entirely of boolean fields (single line choice), with the options of Yes, No. The system was setting these mysql columns as varchar(2000). So, after just a few columns the database would not allow anymore to be added because the row length was too great.
I manually changed the entries to varchar(10) and everything works fine. You may want to consider the default size of varchars in an instance like this. Maybe 2 or 3 times the longest possible answer.
I was creating a simple table using the WPDataTables native table maker. It consists nearly entirely of boolean fields (single line choice), with the options of Yes, No.
The system was setting these mysql columns as varchar(2000). So, after just a few columns the database would not allow anymore to be added because the row length was too great.
I manually changed the entries to varchar(10) and everything works fine. You may want to consider the default size of varchars in an instance like this. Maybe 2 or 3 times the longest possible answer.
Hey Daryl
Thank you for your purchase, and for your feedback.
I have forwarded the issue to our lead developer, and hopefully he'll be able to change it for the next update.
Can I also ask you to add it as a feature suggestion on our Suggest a Feature page? That goes straight to our development team.
Thank you once again.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables