Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS TableView for FireMonkey
Updating the tableview

Updating the list will be done whenever an item is added but to increase the performance, encapsulate every list update with a BeginUpdate and EndUpdate call.
var  
  i: integer;  
begin  
   TMSFMXTableView1.BeginUpdate;  
   for i := 0 to 1000  do  
   begin  
     TMSFMXTableView1.Items.Add.Caption := 'item '+ inttostr(i);  
   end;  
   TMSFMXTableView1.EndUpdate;  
end;