Hello, I have an issue with the foreign key I have created three tables, one of the tables is mixed of those tables it collects data from those tables, so I have two issues:
1. when I follow the steps of pulling data from another column using foreign no data is being displayed to the table which required the data,
2. some of the columns are integer, and when using a foreign key it must be a string, so I want, for example, an integer from another table to be added to the integer of this current table, even I can't use the formula calculation, coz the only available field is from those on this current table.
1. Check if the column names of remote tables and the table you're configuring the foreign key in are the same. If the header is the same, it may not work properly.
2. This can't be done. Unfortunately, the foreign key feature currently only works for string-type columns, so you can't use integers in it. Our developers have this planned for the future, but I can't say for sure when it will be implemented.
Hello, I have an issue with the foreign key I have created three tables, one of the tables is mixed of those tables it collects data from those tables, so I have two issues:
1. when I follow the steps of pulling data from another column using foreign no data is being displayed to the table which required the data,
2. some of the columns are integer, and when using a foreign key it must be a string, so I want, for example, an integer from another table to be added to the integer of this current table, even I can't use the formula calculation, coz the only available field is from those on this current table.
Hello Mohamed
Sorry for the late response.
1. Check if the column names of remote tables and the table you're configuring the foreign key in are the same. If the header is the same, it may not work properly.
2. This can't be done. Unfortunately, the foreign key feature currently only works for string-type columns, so you can't use integers in it. Our developers have this planned for the future, but I can't say for sure when it will be implemented.
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