simple-datatables

Documentation Demos

Colgroup

A colgroup defined in the source table is kept when the table is rendered, along with all attributes of its col elements. As per the HTML spec, properties like background-color set on a col apply to the whole column — the third column below is styled through its col alone. Look at the source of this page.

Name Amount Status
First entry 10 Open
Second entry 250 Closed
Third entry 7 Open
Fourth entry 42 Pending