RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandColumn.AddDefaultCommands Property

Indicates whether cells in the column contain controls for all of the adapter's default actions if you do not explicitly add items to the WebFieldControls property.

Pascal
property AddDefaultCommands: Boolean;
C++
__property Boolean AddDefaultCommands;

Set AddDefaultCommands property to specify what should appear in the generated column when you do not explicitly add any adapter action buttons to the WebFieldControls property. When AddDefaultCommands is true (the default), the adapter command column automatically adds controls for every default action of the associated adapter if you do not explicitly set the WebFieldControls property. When AddDefaultCommands is false, the adapter command column only generates controls if you explicitly add them to the WebFieldControls property. AddDefaultCommands must be false to allow an empty column. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!