K Thompson
K Thompson

Reputation: 21

increase font size of grid in extjs

How do you increase the font size of a datagrid in ext-js?

I have tried changing the font-size property in both ext-all.css and in xtheme-blue.css but neither one seemed to work.

For example:

.x-grid3-row td, .x-grid3-summary-row td{ font:normal 21px/23px arial, tahoma, helvetica, sans-serif; }

Why isn't this working?

Upvotes: 2

Views: 5303

Answers (2)

SW4
SW4

Reputation: 71140

Instead of altering the base CSS for ExtJS have you thought about altering the config of the editor/datagrid compontent itself?

bodyCssClass:'yourclass'
nb.see also

Upvotes: 1

Scott
Scott

Reputation: 1477

You may need to add !important to force your css to override extjs's css.

Upvotes: 0

Related Questions