2
votes

I have an interactive report retrieving numbers and I want to make these numbers a little bigger.

How can I do that? Is that even a thing in apex?

How can I increase the report overall font size or a specific column font size?

I tried changing the region item size to Large and XLarge but that changed nothing.

I keep finding posts suggesting something like this:

<style type="text/css">
.apexir_WORKSHEET_DATA td{
    font-size: 18px;
    font-weight: bold;
}
</style>

but I don't know where to put it to apply it to the report/region or column I want to apply that font to.

2

2 Answers

1
votes

There are several possibilies to do this. You need to open column properties and find there a Column formatting section. There are following fields:

  • HTML Expression. Here you can put an HTML code, which will be inserted in a table cell. For example:

    <div style="font-size: 18px; font-weight: bold;">#COLUMN_NAME#</div>
    

    #COLUMN_NAME# here is a substitution string, it will be replaced with the value of sql column with name COLUMN_NAME. Put the name of your column here. You can even make column formatting dependent on value of another column.

  • CSS Classes. A name of a CSS class, which is be described in a css file or in page's properties (for example, CSS -> Inline). This class will be applied to the table cell.

  • CSS Style. Inline css style, will be added directly to the sell. For example, put there

    font-size: 18px; font-weight: bold;
    

You can use one of these ways or combine them.

1
votes

Thinking aloud: if this particular IR has "small font" and you want to enlarge it, I presume that all other pages in your application use the same, small font. Is that so? If YES, an out-of-a-box solution: why wouldn't you simply enlarge the whole page in your browser? In Mozilla Firefox, shortcut keys for that are [Ctrl +] (press Ctrl, hold it and press "plus" sign). Because, maybe you made it smaller by accident and didn't notice it.