Thread: Changing the Report Column Width

This question is not answered. Helpful answers available: 5. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: Mar 31, 2009 1:58 AM Last Post By: pnnrrt64
user10665890

Posts: 12
Registered: 12/17/08
Changing the Report Column Width
Posted: Feb 1, 2009 10:00 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi All,

I wanted to change the default width of a column in a simple report. I tried few option but could not get any clue.

Any clue??

Regards
Amit Arora

Tobias Arnhold

Posts: 220
Registered: 05/23/07
Re: Changing the Report Column Width
Posted: Feb 1, 2009 10:59 PM   in response to: user10665890 in response to: user10665890
 
Click to report abuse...   Click to reply to this thread Reply
Hi Amit,

try that in your sql command:
SELECT '<div style="width: 60px;">' || DATABASE_COLUMN || '</div>' AS "column_with_set_length"
FROM YOUR_TABLE

Greetings,

Tobias

user10665890

Posts: 12
Registered: 12/17/08
Re: Changing the Report Column Width
Posted: Feb 1, 2009 11:43 PM   in response to: Tobias Arnhold in response to: Tobias Arnhold
 
Click to report abuse...   Click to reply to this thread Reply
Thnx Mate,

It worked. But still I was wondering if I could achieve the same through some attribute value defined in the columns defination or any other way.

Anyways thnx a lot.

Regards
Amit Arora
Wouter de Waard

Posts: 4
Registered: 07/03/08
Re: Changing the Report Column Width
Posted: Feb 6, 2009 2:32 AM   in response to: user10665890 in response to: user10665890
 
Click to report abuse...   Click to reply to this thread Reply
Hello Amit,

In a Classical Report (as opposed to a Interactive report) do the the following:

. Under the "Report Attributes"
. Click the edit icon in front of the column you want to set the width of,
. Under Column formatting you will find a text item with the name CSS Style.

There you enter

display:block;width:250px;
(or any other width you need, ofcourse)

Hopes ths helps you

regards Wouter
Apex_Noob

Posts: 396
Registered: 03/30/08
Re: Changing the Report Column Width
Posted: Feb 6, 2009 5:43 AM   in response to: Wouter de Waard in response to: Wouter de Waard
 
Click to report abuse...   Click to reply to this thread Reply
Hi try this to change column with

Go to column attributes.
select Formatting
In CSS Style Text Box Enter width: 200px

pnnrrt64

Posts: 18
Registered: 08/19/99
Re: Changing the Report Column Width
Posted: Mar 31, 2009 1:58 AM   in response to: Wouter de Waard in response to: Wouter de Waard
 
Click to report abuse...   Click to reply to this thread Reply
Hi,
this is not working for me: what i'm missing?

Thanks

Roberto
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums