Hi,
You can get my simple example project where I show the problem from address:
https://appmaster.pl/tms/
I fill table with procedure below:
procedure TForm1.wbtn1Click(Sender: TObject);
begin
Self.wbtblcntrl1.ColCount:=2;
Self.wbtblcntrl1.RowCount:=3;
Self.wbtblcntrl1.Cells[0,0]:='Header Col 1';
Self.wbtblcntrl1.Cells[1,0]:='Header Col 2';
Self.wbtblcntrl1.Cells[0,1]:='Row 1 Col 1';
Self.wbtblcntrl1.Cells[1,1]:='Row 1 Col 2';
Self.wbtblcntrl1.Cells[0,2]:='Row 2 Col 1';
Self.wbtblcntrl1.Cells[1,2]:='Row 2 Col 2';
end;
begin
Self.wbtblcntrl1.ColCount:=2;
Self.wbtblcntrl1.RowCount:=3;
Self.wbtblcntrl1.Cells[0,0]:='Header Col 1';
Self.wbtblcntrl1.Cells[1,0]:='Header Col 2';
Self.wbtblcntrl1.Cells[0,1]:='Row 1 Col 1';
Self.wbtblcntrl1.Cells[1,1]:='Row 1 Col 2';
Self.wbtblcntrl1.Cells[0,2]:='Row 2 Col 1';
Self.wbtblcntrl1.Cells[1,2]:='Row 2 Col 2';
end;
Why I get extra empty row in table?
Regards,