 "removeSelectColumns"
"removeSelectColumns"
    
    Removes columns from a table selection.
Synopsis
setValue(string shape, "removeSelectColumns", dyn_int columns);
shape.removeSelectColumns(dyn_int columns);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| columns | Column index, starting at 0 | 
Description
This attribute is used to remove columns indexed by an array from the selection. This attribute is only valid in the TABLE_SELECT_MULTIPLE mode.
             Example
                Example
            
The following script selects in the first instance all cells of the second and third row as well as the third column. Thereafter, it removes the selection of the third column.
main()
{
  shape table = getShape("table123");
  dyn_int dline, drow;
  // Select mode
  table.tableMode = TABLE_SELECT_MULTIPLE;
  // Lines and rows
  dline = makeDynInt(1, 2);
  drow = makeDynInt(2);
  // Select
  table.addSelectLines = dline;
  table.addSelectColumns = drow;
  delay(4);
  // Remove 3rd column from selection
  table.removeSelectColumns(dline);
}Assignment
Table, TABLE_SELECT_MULTIPLE mode
