TCustomMtxVecGrid.AppendRow Method

procedure AppendRow;

Adds new row to matrix or vector.

Result: stored in self (calling object)

Remarks:

<example> <code lang="Delphi"> procedure Example(Vec: TVec; Grid: TMtxGrid); begin // enable editing and appending Grid.AllowAppend := True; Grid.Editable := True; Grid.Datasource := Vec; Grid.AppendRow; end; </code> <code lang="C++"> void __fastcall Example(TVec *Vec, TMtxGrid *Grid) { // enable editing and appending Grid->AllowAppend = true; Grid->Editable = true; Grid->Datasource = Vec; Grid->AppendRow(); end; </code> </example> <SeeAlso cref="Editable"/> <SeeAlso cref="AllowAppend"/> <SeeAlso cref="RemoveRow"/>

Examples
procedure Example(Vec: TVec; Grid: TMtxGrid);
begin
    // enable editing and appending
    Grid.AllowAppend := True;
    Grid.Editable := True;
    Grid.Datasource := Vec;
    Grid.AppendRow;
end;