Row formating

Row formating

frSurferfrSurfer Posts: 7Questions: 3Answers: 0

The standard DataTables output has its text centered in each column.

How do I format the text to be left justified for instance?

Answers

  • glendersonglenderson Posts: 231Questions: 11Answers: 29

    when you define your columns, for each column you can include a className to perform that type of css formatting.

    , "columns: [
    {"className":"center"}
    , {"className":"left"}
    , {"className":"right"}
    ]
    

    Where center, left, and right are all class styles in your .css file

This discussion has been closed.