Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manipulating data in a custom field before a row is deleted #1438

Open
PeterB316 opened this issue Jun 26, 2024 · 0 comments
Open

Manipulating data in a custom field before a row is deleted #1438

PeterB316 opened this issue Jun 26, 2024 · 0 comments

Comments

@PeterB316
Copy link

Hi this is a request for help.

I've got a custom field, and it's working great for filtering, editing, and inserting.

I'm using the filterValue, insertValue, and editValue functions in the custom field to do some data manipulation before things happen in order to make it work. That's all fine.

What I can't do nicely is anything before a record is deleted. The only way I've got to do something is using onDeleting, but that's got to be done for each table where I use the custom field, whereas I'd like to make the code a part of the field definition.

Is there a way to do this nicely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant