Skip to Main Content

Description

Setting fixed width of columns in IR is a little different than in older APEX version.

Here's an example of setting fixed width of Hiredate column

First you have to set column static ID:

Then you have to add CSS to page (or static file):

Update:
Use min-width instead of width CSS property (it fixes problem if you have many columns in report)

If you have more than one report on the page you can prefix CSS with region static ID, for example:
#regionStaticId th#colHiredate, #regionStaticId td[headers=colHiredate]{width:100px}
#regionStaticId th#colHiredate, #regionStaticId td[headers=colHiredate]{min-width:100px}

EmployeeJobHiredateSalaryCommissionManagerDepartment
CLARKMANAGER09-JUN-812,450.00vffffACCOUNTING
JONESMANAGER02-APR-812,975.00vffffRESEARCH
BLAKEEAMANAGER01-MAY-812,850.00vffffSALES
WARDSALESMAN22-FEB-811,250.00500.00BLAKEEASALES
MARTINSALESMAN28-SEP-811,250.001,400.00BLAKEEASALES
TURNERSALESMAN08-SEP-811,500.000.00BLAKEEASALES
JAMESCLERK03-DEC-81950.00BLAKEEASALES
ALLENSALESMAN20-FEB-811,600.00300.00BLAKEEASALES
MILLERCLERK23-JAN-821,300.00CLARKACCOUNTING
FORD03-DEC-813,000.00JONESRESEARCH
SCOTTANALYST09-APR-873,000.00JONESRESEARCH
ADAMSCLERK23-MAY-871,100.00SCOTTRESEARCH
SMITHCLERK17-DEC-80800.00FORDRESEARCH
vffffPRESIDENT17-NOV-815,000.00ACCOUNTING
  • 1 - 14