Developer

AddCells

Add array of cells at the end of grid.

procedure AddCells(Values: array of WideString); overload;

Parameters


Values
array of WideString
Values for new cells.
Add array of cells into column specified by ColumnIndex parameter.

procedure AddCells(Values: array of WideString; ColumnIndex: Integer); overload;

Example:


NextGrid1.AddCells(['Cell 0', 'Cell 1', 'Cell 2', 'Cell 3', 'Cell 4']); NextGrid1.AddCells(['Cell 0', 'Cell 1', 'Cell 2', 'Cell 3', 'Cell 4'], 2);

See also