change oracle apex tabular form column width - oracle

To change the column width of a tabular form, I have to put the below code into the HTML EXPRESSION field
<div style="width:20px;">#COLUMN_NAME#</div>
Is there any better way to do this? such as via the CSS on the header of the region?
Thanks

In form page, if you click on specific column, you will find menu on the right hand side. You can change column width under Appearance section or Advance section. There are places to change the column fields in under that sections.
Under Appearance section you can enter from width field.

Related

How to fit a table to page width in telerik report

enter image description hereI have a telerik report with table,the table contains a column group.
Currently if there are less columns there is a blank space on the right side of the page and if the columns count exceeds it goes to the next page.
Is there any way i can fit the table to the page width.
In the report the marks column is a group column. As seen in the image there is a blank space on the right side of the page. I want the column width to change dynamically to fit to the page.
Thanks.
Got the solution .
I had to set the binding rules for the column to set its width

Birt report - hidden cross tab cells showing in excel

I have a cross tab. I hide an entire column by setting the style to one containing "display: none". This looks great in html and pdf.
But when exporting to Excel, the column appears with empty values.
How do I force the excel export to not show the column?
Have you tried using the visibility expression for the column instead of the style display:none?
I think setting width to 0 only hide the column (when exporting to excel) when the report Layout is "Fixed Layout".
Unfortunately "Fixed Layout" is a pain to use when you have a crosstab with lots of columns, as Excel starts throwing errors if the width gets too big.

evaluate HTML content from item in region Oracle APEX

In the database table I have a CLOB column that stores content with html markup. To display the content, I have a "Hidden" item called P4_DESCRIPTION and in the region that I want to display the value of the item, I use &P4_DESCRIPTION. .
Unfortunatelly it is not evaluating the HTML markup and displays the content as it is stored in the DB.
I also tried to change the P4_DESCRIPTION from "Hidden" to "Display Only" but I have the same problem. A workaround that I found is that if I have the P4_DESCRIPTION as "Display Only" and in the region I keep the &P4_DESCRIPTION. then the &P4_DESCRIPTION. will evaluate the HTML code. In this case I have hide with CSS the item and I will have the result I want. But I suppose it's a dirty way of doing it.
What is the clean way of displaying the content of the column that contains HTML markup? (btw to create the content of that column I used the rich text editor field)
Set the item to Display Only and set Escape special characters on it to No.

Telerik Report : Starch line in Detail band or Add Empty rows

I am trying generate one sale bill format format in telerik report design.
I Need Output like detail band is grow to fit page size. like adding blank row.
i have used table inside details band.
Is there any property in detail band or in table to fit page size?
or i have to manually add blank rows?
You can set the Docking property by selecting the table and then using the property window to set the value.
Set it to Fill by clicking in the value box and selecting Fill.
Alternatively you can just type Fill.

Split page scrolling behaviour in HTML

So I have a page that is split into 2 columns. The left column there are expandable forms that are quite long to ask the user optional product preferences. On the right side of the page there is a much shorter, 'contact details' form.
The contact details form is mandatory while all the left product preferences forms are optional. The behaviour idea is that as the user scrolls down to complete the left column optional forms, the page will only scroll the left column - the contact details forms displayed in the right column stay in place beginning. I'm having trouble implementing this and I haven't found a solution yet or any examples of pages with this split column behaviour online.
Any advice / suggestions?
Thanks!
Depending on how involved your layout is, you can use css fixed positioning so that as the page scrolls down, your right column stays in the same place.
Sample.
You can put the contents of the longer (left) column in a container div, and make that div independently scrollable using the overflow attribute.
Here's a sample.

Resources