Developer

TNxCell6

Ancestor of all cell classes used in NextGrid6. It is not used directly, but via descendant classes.

Unit: NxCells6.pas (Sources\Next Grid)

Hierarchy

TObject

TInterfacedObject

TNxCell6

Implements


INxCell

Every column in NextGrid6 is loaded with single cell type (String, Integer, Float etc.). After new row is added (e.g. via AddRow method) new cell is created based on Column's native type.

That said, for NumberColum TNxFloatCell6 is created.

As TNxCell6 implements INxCell interface properties such as AsString, AsFloat, AsDateTime are included.

Example:


NextGrid61.Cell[2, 2].AsInteger := NxSpinEdit6.AsInteger;
TNxCell6 include number of properties for setting visual appearance.

See also