RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandColumn.FormatColumnData Method

Generates the HTML for the cells in the column that contain controls to execute actions.

Pascal
function FormatColumnData(const Content: string; Options: TWebContentOptions): string;
C++
__fastcall AnsiString FormatColumnData(const AnsiString Content, TWebContentOptions Options);

The adapter grid calls FormatColumnData to update the HTML for the contents of a cell to include any column attributes that affect the layout of that content. This method adds attributes to the HTML that reflect the Align and VAlign properties. 

Content is the HTML that represents the content of the cell. It is the value that the Content method returns. 

Options contains a set of flags that limit what can be included in the generated HTML. 

FormatColumnData returns the resulting HTML. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!