TWorksheet

Unit

DMWorksheet

Description

TWorksheet component may serve as a table representation of data stored in the linked TContainer component. In addition, user may edit data in the container if Options property includes goEditing flag: Shift+Delete deletes selected line, Alt+Delete deletes selected cell, Shift+Ins inserts empty line.

Keep in mind that unlike "true" spreadsheets, TContainer has no explicit "columns", although individual data items like TRealData may form "pseudocolumns". This architecture was specially optimized for low memory consumption and fast display of very large (1 000 000 lines and more!) tables.

Use WksDemo sample to see TWorksheet component in action.

Properties

AlignRight

BlockColorB

BlockColorF

Container

DrawHeaders

Header

Methods

AlignTextOut

CopyToClipBoard

Create

Delete

DeleteCell

DeleteLine

Destroy

InsertLine

PasteFromClipBoard

SelectAll

UpdateSize

Events

OnGetCellText