Events for Adding and Deleting Column in Table
Posted: Wed Jun 18, 2025 8:43 am
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). 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
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). 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