Can you give me an example of a Filter or Action usage to manually put a content to a cell on a specific table before the data is being saved to the database? So the cell should be on a specific Table ID and a specific Column.
If we can't get this info, we will have to demand for a refund because we need to customize the plugin based on our features and you don't have example usages on the hooks/filters from the documentation and it will take a LOT of time for us to familiarize how the plugin works in the coding backend without some examples.
We have a filter which we still haven't included in our documentation, and you can use it like this:
As you can see, formData is forwarded - which contains the tableId of the current table and the data user entered through the modal (which is an array in column_name -> column value format).
We don't have the data about columns, but you can use loadColumnsFromDB function, like in the example:
function updateValuesBeforeSave($formData,$tableID){ //Helper method that load columns config data from DB
$columnsData = \WDTConfigController::loadColumnsFromDB($tableID);
foreach ($columnsData as $column){
if ($column->orig_header == 'name_of_the_orig_header_for_your_column') {
$formData[$column->orig_header] = 1;//we set 1 but you will replace here what ever you need
}
} return $formData; }
add_filter('wpdatatables_filter_formdata_before_save','updateValuesBeforeSave', 2, 10);
How can I filter the values/choices of a select field (on a frontend editable table) to show values from a different table? These values have a certain meta_key.
I've attached a file that shows the situation. So Column 2 on Table 2 needs to be a select field that contains the values/choices from Table 1 Name column which Company is Apple. In short, Column 2 should should have the choices "Ben", "James", "Anne". And table 1 is also frontend editable too.
I tried that but the "Foreign Key" thing doesn't let us show only Names with an Apple Company. The Foreign Key displays all column data from another table.
Unfortunately, cascade editing is not yet available, and unfortunately there are no conditional rules we can apply between columns. There are only conditional rules which can be applied to one column, but not between columns.
It probably can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in near future.
But we can recommend these services for customization:
I forwarded your ticket to one of our developers, and I'll let you know as soon as I have a response from him. We're all working out-of-office due to COVID-19 outbreak, so there's no in-person communication, and everything has been slowed down.
Thank you for understanding, and for your patience.
This will never be included in the documentation, because using hooks requires a certain level of programming skills and included support refers only to advice.
One of our developers will look into this during the day, and I'll respond as soon as I have any new info.
I just received a response from our developer, and unfortunately he said that we don't have hooks like this, so we won't be able to help you with them after all.
I'm sorry you feel that way even though we tried to help you outside the scopes of included support - like already mentioned - using hooks and filters requires a certain level of programming skills and included support refers only to advice.
I will reach out to our management and see if they can refund your purchase, because per our Refund Policy we only issue refunds within the "15-day money back guarantee" period.
I am sorry about the scarcity of my responses, but each day we receive 80 - 100 support tickets, and we do our best to resolve each customer’s issues. In parallel, we are developing new products and new features for our products. That takes a growing amount of time and investments to be able to keep on at this pace without sacrificing quality on any of the fronts.
You are correct when you say the plugin has updated since then, and that is a very old video. Because of the points in the first paragraph of my response here we don't have the time to record new videos, even though that is planned for the next quarter of 2020. The situation about COVID-19 can actually help us with that, because a lot of company's meetings, plans, etc will have to be postponed.
I would've gladly shared an example with you, just like I did for your initial question, but since I wasn't able to help you out - I forwarded your request to one of our developers. His response was that we don't have hooks like this. You can do it as a custom solution, you can even add the hook if you wish, and know how.
My response about customization services is the result of my previous point - what you're looking for doesn't exist in the plugin yet, and it would have to be custom-developed - but since we don't have the time to accept any custom work I recommended the two services who provide custom work.
Unfortunately, I can't provide an example of the hook, since we don't have a hook like that; thus I can't provide an example of what you're trying to achieve.
Hello,
Can you give me an example of a Filter or Action usage to manually put a content to a cell on a specific table before the data is being saved to the database? So the cell should be on a specific Table ID and a specific Column.
If we can't get this info, we will have to demand for a refund because we need to customize the plugin based on our features and you don't have example usages on the hooks/filters from the documentation and it will take a LOT of time for us to familiarize how the plugin works in the coding backend without some examples.
Thanks.
And the table I'm working is a frontend editable table btw...
Thanks
Hello John.
We have a filter which we still haven't included in our documentation, and you can use it like this:
As you can see, formData is forwarded - which contains the tableId of the current table and the data user entered through the modal (which is an array in column_name -> column value format).
We don't have the data about columns, but you can use loadColumnsFromDB function, like in the example:
I hope that helps.
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
Hi Aleksandar,
Thanks for this.
I'll try this out and let you know if it's working. If it is, then we can proceed to upgrading our license.
Thanks.
You're welcome John
Glad I could help, and I hope it works as intended.
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
Hi Aleksandar,
The code just creates another problem for us.
How can I filter the values/choices of a select field (on a frontend editable table) to show values from a different table? These values have a certain meta_key.
I've attached a file that shows the situation. So Column 2 on Table 2 needs to be a select field that contains the values/choices from Table 1 Name column which Company is Apple. In short, Column 2 should should have the choices "Ben", "James", "Anne". And table 1 is also frontend editable too.
How can we do that?
Thanks.
Hello again John
Well, you could connect these two tables using Foreign Key relations.
Please take a look at the documentation, and let me know if this is what you were looking for to achieve.
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
I tried that but the "Foreign Key" thing doesn't let us show only Names with an Apple Company. The Foreign Key displays all column data from another table.
I see John.
Unfortunately, cascade editing is not yet available, and unfortunately there are no conditional rules we can apply between columns. There are only conditional rules which can be applied to one column, but not between columns.
It probably can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in near future.
But we can recommend these services for customization:
https://codeable.io/?ref=l1TW1
https://wpkraken.io/?tms-plugins
They do develop such solutions, so can you please send your inquiry to them?
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
Can you just give me the hook to set the values/options of a select field in frontend editor?
And an example please. I'm not familiar with the arguments if you'll give the hook.
Thanks.
Hi again John
I'm sorry, but I can't provide that right now.
I forwarded your ticket to one of our developers, and I'll let you know as soon as I have a response from him. We're all working out-of-office due to COVID-19 outbreak, so there's no in-person communication, and everything has been slowed down.
Thank you for understanding, and for your patience.
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
Okay, thank you.
I just need that hook when rendering the frontend editable form. And an example of how will that work with foreign key select field.
I won't be asking this if you just just a complete documentation. But they are not given examples.
Thanks.
Hi again John
This will never be included in the documentation, because using hooks requires a certain level of programming skills and included support refers only to advice.
One of our developers will look into this during the day, and I'll respond as soon as I have any new info.
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, I'll be waiting...
Hi again John
I just received a response from our developer, and unfortunately he said that we don't have hooks like this, so we won't be able to help you with them after all.
I apologize for the inconvenience.
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
Okay, can you please process my refund? We can't use this plugin as it is incomplete and help is scarce.
Thanks.
Hello again John
I'm sorry you feel that way even though we tried to help you outside the scopes of included support - like already mentioned - using hooks and filters requires a certain level of programming skills and included support refers only to advice.
I will reach out to our management and see if they can refund your purchase, because per our Refund Policy we only issue refunds within the "15-day money back guarantee" period.
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
Yeah, because you only reply once per day...
I found this video https://www.youtube.com/watch?v=wHRDH5tSsXg
But, I think, your plugin has updated and doesn't put the data on the <table> tag but rather on the <input> tag.
So it needs to be updated. I was just hoping you could give me examples on filtering before it's rendered those select data in frontend editor.
But you always think like "pay for a developer first". I'm just asking for an example because you didn't have any.
Hello again John
I am sorry about the scarcity of my responses, but each day we receive 80 - 100 support tickets, and we do our best to resolve each customer’s issues. In parallel, we are developing new products and new features for our products. That takes a growing amount of time and investments to be able to keep on at this pace without sacrificing quality on any of the fronts.
You are correct when you say the plugin has updated since then, and that is a very old video. Because of the points in the first paragraph of my response here we don't have the time to record new videos, even though that is planned for the next quarter of 2020. The situation about COVID-19 can actually help us with that, because a lot of company's meetings, plans, etc will have to be postponed.
I would've gladly shared an example with you, just like I did for your initial question, but since I wasn't able to help you out - I forwarded your request to one of our developers. His response was that we don't have hooks like this. You can do it as a custom solution, you can even add the hook if you wish, and know how.
My response about customization services is the result of my previous point - what you're looking for doesn't exist in the plugin yet, and it would have to be custom-developed - but since we don't have the time to accept any custom work I recommended the two services who provide custom work.
Unfortunately, I can't provide an example of the hook, since we don't have a hook like that; thus I can't provide an example of what you're trying to achieve.
Sorry for the inconvenience.
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