ComponentOne True DBGrid Pro 8
CellText Method

 

CellText Method

Returns displayed column text for any row.

Syntax

column.CellText(bookmark)

Arguments

bookmark is a variant representing a grid row.

Return Value

A string containing the displayed column text for the specified row.

Remarks

The CellText method returns a formatted string representation of the data in a column for the row specified by the bookmark argument. Using the CellText method is similar to accessing the Text property, except that you can select a specific row from which to retrieve the value.

The value returned by the CellText method is derived from the underlying data value by applying the formatting as specified by the NumberFormat property of the Column object.

Using the CellText method to extract information from a cell doesn't affect the current selection.

Use the CellValue method to access the unformatted data value for the specified row.

See Also

Column Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback