 "columnStretchable"
"columnStretchable"
    
    This attribute allows the width of a table column to be adjusted if the table's width decreases or increases.
Synopsis
setValue(string shape, "columnStretchable", int idx, bool
                stretch);
shape.columnStretchable(int idx, bool stretch);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| idx | The index of a table column | 
| stretch | 0 = The width of a column is not adjusted if the table's width decreases or increases. 1 = The width of a column is adjusted if the table's width decreases or increases. | 
Description
This attribute allows the width of a table column to be adjusted if the table's width decreases or increases.
You can not resize stretchable columns manually.
 EXAMPLE
EXAMPLE
main()
{
  dyn_string Nm, Snm, addr;
  Nm[1]="Thomas";
  Nm[2]="Marc";
  Nm[3]="Peter";
  Snm[1] = "Müller";
  Snm[2] = "Davis";
  Snm[3] = "Maier";
  addr[1] = "Hauptstrasse9,1230 Wien";
  addr[2] = "Ocean road 23, 3456 Sydney";
  addr[3] = "Hügelgasse 15, 7543 Eisenstadt" ;
  //Add three lines with personal data to a table
  this.appendLines(3, "Names", Nm, "Surnames", Snm, "Address",addr);
  //The column width of the second column is adjusted if the table's width 
  //decreases or increases.
  this.columnStretchable(1,1);
}Assignment
Table
