As you can see in the ticket subject, that I requested for "Filter/Action" first, and then as a feature:: I have a requirement for a client, to provide user-based editing control on the column.
* While trying the standard editor, I noticed that you can edit a single column in the row, but the data sent does not include which field is changed, it sends the values of all columns.
* Then I tried, Excel-like editor using the shortcode "table_view". And, fortunately I found a post field:: cells[0][col_name]. So, this column name enables to implementation of edit-access checks. But, there is a problem. I can see find the "wpdatatables_excel_after_frontent_edit_row", but there is "before" filter for before.
My request here is to please implement this before the hook, or any other suitable code block, to "control the edit-access".
Thank you, I have already set it up for myself, with a similar thing, I will implement the hooks with the naming you have mentioned, and get back to you.
Thanks for looking into it and consideration to add in the upcoming version.
I have one (or may be more suggestions), that I noticed while implementing this specific request for the client.
You're welcome to add any feature suggestion on this page.
Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.
Actually, what I have is not the feature request, but the code improvement (or can be called completion).
I see an action hook to add fields in the "Display" tab of the Column Settings, hook is: "wdt_add_column_display_settings_element", this enables to add an extra field to the column settings, but there is no way to get it saved in the database.
This hook is used only to add elements in the Display column settings. To perform a save in the database, a combination with more hooks would have to be created.
Using hooks and filters requires some programming knowledge, and included support refers only to advice, so we can't help you out with that.
Hi,
As you can see in the ticket subject, that I requested for "Filter/Action" first, and then as a feature:: I have a requirement for a client, to provide user-based editing control on the column.
* While trying the standard editor, I noticed that you can edit a single column in the row, but the data sent does not include which field is changed, it sends the values of all columns.
* Then I tried, Excel-like editor using the shortcode "table_view". And, fortunately I found a post field:: cells[0][col_name]. So, this column name enables to implementation of edit-access checks. But, there is a problem. I can see find the "wpdatatables_excel_after_frontent_edit_row", but there is "before" filter for before.
My request here is to please implement this before the hook, or any other suitable code block, to "control the edit-access".
Hello Ankit
Thank you for your interest in wpDataTables.
I forwarded this ticket to our developers, and as soon as I hear from them, I will let you know.
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 again Ankit
For the standard editor, you can use:
However, the entire row is being sent, even if some are not changed.
For the Excel-like editor, we will add it to the plugin.
At this time, go to wp-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php and on line 529 you will find this:
Add this below that line:
And please let us know if it's working properly, so we can add it to our next update.
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
Thank you, I have already set it up for myself, with a similar thing, I will implement the hooks with the naming you have mentioned, and get back to you.
Thanks for looking into it and consideration to add in the upcoming version.
I have one (or may be more suggestions), that I noticed while implementing this specific request for the client.
I'm glad to hear that, Ankit.
You're welcome to add any feature suggestion on this page.
Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.
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
Actually, what I have is not the feature request, but the code improvement (or can be called completion).
I see an action hook to add fields in the "Display" tab of the Column Settings, hook is: "wdt_add_column_display_settings_element", this enables to add an extra field to the column settings, but there is no way to get it saved in the database.
Thank you, Ankit
I forwarded the ticket to our developers for review. I'll get back to you if they have any comments on the matter.
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 again Ankit
Sorry for the late response.
This hook is used only to add elements in the Display column settings. To perform a save in the database, a combination with more hooks would have to be created.
Using hooks and filters requires some programming knowledge, and included support refers only to advice, so we can't help you out with that.
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