Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can we auto adjust the column width in output when using html tag

User_AOUZ4Nov 24 2021

In below output the STATUS column assumed more width pushing the QUANTITY column to the right
col_width1.jpg
how can we get below kind of output automatically i.e. the width of STATUS column auto adjusted.
col_width2.jpg

This post has been answered by thatJeffSmith-Oracle on Nov 24 2021
Jump to Answer

Comments

thatJeffSmith-Oracle

it is being auto-adjusted...the true content is all that html, it's only that the GREEN is the only text being rendered
So in your query, easy to fix, adjust to column name width

User_AOUZ4

Hi Jeff,
Understood that rendering is causing the column width to be longer than expected.
how to adjust column name width . do you mean instead of column name "STATUS"
we should use "=============STATUS=============" or something like that ?

thatJeffSmith-Oracle
Answer

right click on headers, autofit on the header

Marked as Answer by User_AOUZ4 · Nov 24 2021
1 - 3

Post Details

Added on Nov 24 2021
3 comments
1,157 views