How to control the alignment of title using dynamic header in "aoColumns":"sTitle":"ABC"

How to control the alignment of title using dynamic header in "aoColumns":"sTitle":"ABC"

suitongsuitong Posts: 3Questions: 0Answers: 0
edited April 2012 in General
As title, the defualt one is centered, if I want all title align to left, how can I do that?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Just as you would with any other HTML table - the text-align CSS option. Assign a class to the column headers you want different alignment on and apply the text-align property to a selector for that class.

    Allan
This discussion has been closed.