remove_chooser_column
Remove a column from a UChooserTable by index (omit or -1 for the last column). Deletes the column's per-row cells in one undoable step, then compiles and saves the table.
Instructions
Remove a column from a UChooserTable by index (inverse of add_chooser_column_to_table). The column's per-row cells go with it -- a column owns its own RowValues, so nothing needs re-syncing across the other columns and the row COUNT is unchanged (use remove_chooser_row for that). The removal is one undo step; the table is then compiled and saved, and success is false, with save_error, when the save fails. A table with no columns is left as it is (note, saved false). Omit column_index (or pass -1) to remove the LAST column, matching remove_chooser_row's default.
Returns: { table_path, removed_column_index, previous_column_count, new_column_count, column_type, saved, save_error?, note? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_path | Yes | Long package path of an existing UChooserTable. | |
| column_index | No | Optional 0-based column index (default -1 = last column). |