Skip to main content

The "sys_grid_delete" Function


sys_grid_delete(ds_grid, row);
ds_griddata structureThe data structure to remove row from
rowintegerThe index of the row to remove


Removes a row from the specified ds_grid while preserving other data and returns the final grid.

Note that the final grid must be assigned to an external variable to prevent memory leaks! It is recommended to use the same variable as is assigned to the original input grid.

As this script is run automatically by other engine functions, it is almost never necessary to run sys_grid_delete manually.