The "ds_grid_delete_col" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | ds_grid | The data structure to remove a column from |
col | integer | The index of a column to remove |
#
DescriptionRemoves a column from the specified ds_grid
while preserving other data.
When complete, ds_grid_width
will be reduced by 1. For this reason, a column should only be deleted when there are at least two columns in the grid, otherwise the entire grid will be destroyed.