RonAnderson Posted September 29, 2022 Report Share Posted September 29, 2022 I have a tabular results page which contains records. I want to protect some of the records from being deleted. Is this possible? Quote Link to comment Share on other sites More sharing options...
0 IamNatoyThatLovesYou Posted September 29, 2022 Report Share Posted September 29, 2022 hello @RonAnderson, you can just use the DataPage as-is and the user cannot make changes to the records. Just note that the edit inline options and Details Page with editable fields should not be enabled. -Natoy Quote Link to comment Share on other sites More sharing options...
0 RonAnderson Posted September 29, 2022 Author Report Share Posted September 29, 2022 Hi @IamNatoyThatLovesYou and thanks for your reply. Problem is, I want to be able to edit all records so the the details page is necessary. I don't want any editing in the results page so I've not engaged inline editing. I need to retain records of a certain status and these must not be deleted and must be retained intact whilst other records can be deleted. Quote Link to comment Share on other sites More sharing options...
0 ParkLoey Posted September 30, 2022 Report Share Posted September 30, 2022 Hi @RonAnderson maybe conditionally hiding the delete button based on a condition might work? Here are some forum posts I saw that you might find helpful: I hope this helps Quote Link to comment Share on other sites More sharing options...
0 Queso Posted October 5, 2022 Report Share Posted October 5, 2022 Hello, I am currently using your required functionality on my DataPage and it is possible by enabling inline-delete of records then have a JavaScript codes on the Header, HTML block, and Footer section that hides the inline delete of a record based on a criteria. Quote Link to comment Share on other sites More sharing options...
0 Queso Posted October 5, 2022 Report Share Posted October 5, 2022 Just to add, the following is my reference for that actual JS code: Quote Link to comment Share on other sites More sharing options...
0 RonAnderson Posted October 5, 2022 Author Report Share Posted October 5, 2022 Hi @Queso I was able to use your suggestion and it works really well. Thanks so much Quote Link to comment Share on other sites More sharing options...
Question
RonAnderson
I have a tabular results page which contains records. I want to protect some of the records from being deleted. Is this possible?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.