Documentation
SPHPlayground manual
sphplayground
sphplayground

HTML tables: for tabular data

Table element represents tabular data —that is, information expressed via a two-dimensional data table.

The Table component

The structure of a Table object follows closely the specification of a HTML <table>.

Cars:
NameModelYearkmprice (€)
TeslaModel X201810100062470
Audie-tron202115000118900
NissanLeaf20165300020400

TABLE FACTORIES: building and manipulation

The LineNumberer class

A LineNumberer is able to add linenumbers to a Table objects

The TableBuilder class

A TableBuilder is a factory class. It is able to generate Table objects from iterable data sources.

#NameModelYearkmprice (€)
1.TeslaModel X201810100062470
2.Audie-tron202115000118900
3.NissanLeaf20165300020400

The CsvTablebuilder Class as a factory

CsvTablebuilder is a factory for generating Table objects from CSV files.

#DateExerciseCategoryWeight (kgs)RepsDistanceDistance UnitTime
9631.2020-10-27Cable Face PullShoulders15.010
9632.2020-10-27Rope Push DownTriceps15.010
9633.2020-10-29BasketballCardio0.0m1:30:00
9634.2020-10-29CyclingCardio7.0km0:27:00
9635.2020-10-30CyclingCardio5.6km0:26:00
9636.2020-10-31Barbell PressShoulders40.05
9637.2020-10-31Barbell PressShoulders40.05
9638.2020-10-31CyclingCardio11.5km0:40:00
9639.2020-10-31HikingCardio1.9km1:00:00
9640.2020-11-01Pull UpBack0.02