Link to home
Start Free TrialLog in
Avatar of Errol Farro
Errol FarroFlag for Aruba

asked on

Datatable font size

How can change the font size of a datatable ?

I also want to make the width of the table smaller
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Hi,
the following jsFiddle sample demonstrates two options:
1. Assign two additional classes to the table (compact to minimize padding/spacing) and a custom one for the font size
2. Set column widths using the colum definition

http://jsfiddle.net/EE_RainerJ/zxr7nLh0/

HTH
Rainer
Avatar of Errol Farro

ASKER

Can the font of the pagination, search filter, show etc... also be changed to the same font as defined in the class?
ASKER CERTIFIED SOLUTION
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial