How to increase/descrease font size in Dojo DataGrid

css, datagrid, dojo, fonts, grid

Solution

Building off what Kitson said, you can do something like this:

<style type="text/css">
.dojoxGrid table {
   margin: 0;
}
.dojoxGrid th, tr {
   font-size: 8pt;
}
</style>

But as Kitson mentioned, Firebug can be very useful in discovering what class you should use in your style sheet. These are two classes that I happened to pick out using that method.

Problem

How can I increase/decrease the default dojo datagrid font size? Should I do this in CSS or is there a property I can set when extending the DataGrid class?

Original source