I created a table with the frontend editing option. But i want my users to edit only entrys with a date in the current week / month. I found the option to condiotional format the row by using the condiotion %last_week% and to add/remove a css class. Can i add or remove a css class to prevent the frontend editing?
For your Information: I found a workaround and added the css class "group" to the table row i wanted to prevent editing. I found this class checking out the js event for the row. It is not perfect but it works.
Hello everyone,
one more time: great plugin!
I created a table with the frontend editing option. But i want my users to edit only entrys with a date in the current week / month. I found the option to condiotional format the row by using the condiotion %last_week% and to add/remove a css class. Can i add or remove a css class to prevent the frontend editing?
Regards
Hello Stephan
Unfortunately, no.
You cannot prevent front-end editing through CSS.
You can use the CSS to hide the buttons, but I figured you wish to prevent editing after a certain point, which is not possible.
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
Hello Aleksandar,
thanks for your answer.
For your Information: I found a workaround and added the css class "group" to the table row i wanted to prevent editing. I found this class checking out the js event for the row. It is not perfect but it works.
Regards,
Stephan
Hello Stephan
That's a good workaround, honestly.
I'm glad to hear it works.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
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