Data Tables like all other components align to a responsive grid structure and should maintain various visual alignment vertically and horizontally to insure visual consistency and ease of use.
Integers are right aligned with consistent number of digits across a report or within a single column, all other types of data is left aligned. Special exceptions to this rule and examples of each are listed below.
Column Header Row
The column header row should be visually distinctive from all other rows within the data table.
Column header names should always be left (or center) aligned based on the overall theme of your application.
Row Based Header
When data is row nested and the data table contains row based headers they should be visually distinctive from all other columns within the table (and match the treatment used for column headers).
Row based header names should always be left aligned.