DataTable column changed -> any column

Setting up a trigger for change in one particular field/column works as follows.

image

I am looking for a way to do the same for any field/column of a particular table without the need to define them all separately.

2 Likes

I believe that would be the DataView type, try hooking it on View Changing and specify the data view of your table.

Edit: reading more about this, it seems View Changing has more to do with a view filter being changed

1 Like

I’m curious what would happen if you didn’t specify a target column.

Below is a base event for “ViewChanging”… notice the trigger doesn’t have any Target for what view… so any change to/from any view kicks off this event.

I’m wondering if the same would work for your DataTable event.

If you set it up targeting your Table… but NOT specifying a Column, would it then fire one any column change for that table?

2 Likes

This seems to work in 2023.1 … until someone considers it a bug that must be solved.

Any ideas if this can be expected to keep working?

3 Likes

It may very well be “working as designed”. Like I mentioned above, they use this tactic in base events… so I would assume its safe to use this practice.

Just because they give you the option to limit to a specific column, doesn’t mean you HAVE to. They just need better documentation or hover-text to explain that caveat.

2 Likes