Hello, I am enjoying the wpDataTable plugin so far thanks but I have a question.
I am trying to see if I can create a process for calculating and storing inventories for bars and restaurants.
I have created a wpdatatable with product name and cost price that is the result of a formula. Then I have another wpDataTable where I have a column set as a Foreign key with the relation set to show the product name in a list from the previous table and so far this part works correctly. Then another column with a foreign key with the relation set to show the cost price from a formula column from the first table however nothing is displayed in the result.
Ideally when I select the product name in the second table from the foreign key I need other columns pulling the cost price and other formula values from the first table then be able to apply formulas to these.
Unfortunately that is not possibly with built-in feature of plugin.
About the Formula column with Foreign keys, yes there is the issue with that. It is forward to our developers team to check and to try to find some solution if is possible.
Hello,
I am enjoying the wpDataTable plugin so far thanks but I have a question.
I am trying to see if I can create a process for calculating and storing inventories for bars and restaurants.
I have created a wpdatatable with product name and cost price that is the result of a formula. Then I have another wpDataTable where I have a column set as a Foreign key with the relation set to show the product name in a list from the previous table and so far this part works correctly.
Then another column with a foreign key with the relation set to show the cost price from a formula column from the first table however nothing is displayed in the result.
Ideally when I select the product name in the second table from the foreign key I need other columns pulling the cost price and other formula values from the first table then be able to apply formulas to these.
I have read the https://wpdatatables.com/documentation/front-end-editing/configuring-table-relations-foreign-key/
From what I can see I don't think it will be possible.
Perhaps it is too complicated but I thought I would ask to see if you can suggest a possible solution.
Best Regards
Daniel
Hi Daniel,
Unfortunately that is not possibly with built-in feature of plugin.
About the Formula column with Foreign keys, yes there is the issue with that. It is forward to our developers team to check and to try to find some solution if is possible.
Thank you for reporting this.
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