Table cell change broadcast
Jump to navigation
Jump to search
Tables have an option to send a BC whenever any cell in selected columns is
modified by any means. The bc sent includes the _row and _col of the
modified cell. The routine can use this information to update data,
summaries etc.
If a row/column/shift operation caused the change, then
_row may be 0 (indicating potentially all rows are affected) but _col
will always be properly set because separate broadcast will be sent
for each column with this feature selected.
In other words, a separate BC is not sent
for every cell modified but only for every column modified.
To use this feature:
- In the table editor, use the [Table]->Advanced->Recalculate Broadcast
menu to select/add a broadcast. - For each column that you want change notification, enable the
"Send Recalculation BC" option.
The broadcast is sent to the dynamic scope of the table, with item
attributes _row and _col set as described above.
idkbase note 20