Page 1 of 1

Events for Adding and Deleting Column in Table

Posted: Wed Jun 18, 2025 8:43 am
by tomr
Hello RichView Support,
I have a question regarding table modifications:
Is there a specific event that is triggered when columns are added to or deleted from a table?

Adding or deleting an entire table works fine — I'm currently using the ItemAction event and checking for StyleNo = -60 (which corresponds to a table) along with ItemAction = rviaInserted (for adding) or rviaMovingToUndoList (for deletion).
Add and Deleting Table.png
Add and Deleting Table.png (33.02 KiB) Viewed 5763 times
However, when modifying a table (e.g., adding or removing columns), I see that multiple events are triggered with StyleNo = 0, which corresponds to plain text. But no events with the StyleNo = -60
Am I missing something, or is there a better way to detect column-level changes in tables?

Kind regards
Tom