As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Good morning.
I have a table using a FK in one field (for example, with values A,B,C,D).
If I add a new row choosing value A: is there any way to disable the election of this Value for a another new row?
I mean: adding a new row, the user should only choose between B, C or D, because A has been chosen previously.
Thanks in advance.
Hello areaticCV.
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built in features.
I can't even say if this feature could be implemented with a custom solution. It would require changing a lot of coding of the plugin.
Best regards.
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
Thanks Aleksandar for your answer.
I'm trying to do this with MySQL triggers and procedures, but now I have another question:
I would like to call a procedure just before a table is rendered. I have seen the action "wpdatatables_before_table( $tableId )", but i don't know how to use it.
In functions.php I have tried:
But it doesn't work.
How could I achieve this?
Please, ignore the previous message. I was wrong with the function name...
It works perfectly now :)
In order to do exactly what I need...what action should I use to call the procedure just in the moment a new row has been inserted?
Hello areaticCV.
Glad to hear it works now.
I believe you can try this:
wpdatatables_after_frontent_edit_row( $formdata, $rowId, $tableId )
This action is executed after editing action is applied.
$formdata is the array of keys and values for editing.
$rowId is the ID field of the row in MySQL table that was edited.
$tableId is the table identifier from the MySQL plugin table (wp_wpdatatables).
Although, I can't say for sure, since I haven't tried it.
Best regards.
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
Once again, thanks a lot for your answer.
I tried what you said and it works perfectly.
It is a real pleasure to have a support like you.You're welcome areaticCV.
Glad to hear I could be of service.
If you have any further questions or issues, please feel free to open a new ticket, and I'll gladly help.
Best regards.
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