Web.DBWeb.TDSTableProducer.EndLayout
Delphi
procedure EndLayout;
C++
void __fastcall EndLayout();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDSTableProducer |
Description
Decrements a counter that indicates the number of times the computation of the column order has been begun but not completed.
Applications cannot call this protected method. TDSTableProducer objects call EndLayout internally after making changes to the Columns property or when changes are made to the fields in DataSet.
Each call to EndLayout should match a corresponding call to BeginLayout. If all BeginLayout calls have been matched by an EndLayout call, EndLayout calls DefineFieldMap to regenerate the field mapping for the dataset maintained by DataLink. The Columns property is then updated to match the field map in DataLink. This ensures that the Columns property matches both the specified column bindings and the fields available in the dataset.