How to create a column width fixed in an interactive report 4 APEX?

This thread is a continuation of {message identifier: = 9191195}. Thank you fac586.

Partial success: the following code provided by fac586 limit the width of the column of the Apex 4 interactive report as long as the data in the column contains a white space in a browser Firefox 3.6:

< pre class = "jive-pre" >
< style type = "text/css" >
e #T_DESCRIPTION {}
Width: 300px;
}
TD [headers = "T_DESCRIPTION"] {}
Width: 300px;
dressing: break-Word;
}
< / style >
< / pre >

Notes:
1. the above code is placed in the HTML header for the page section.
2 T_DESCRIPTION is defined as VARCHAR2 (2000).
3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

I tried to add "float: left;":

< pre class = "jive-pre" >
< style type = "text/css" >
e #T_DESCRIPTION {}
Width: 300px;
}
TD [headers = "T_DESCRIPTION"] {}
Width: 300px;
dressing: break-Word;
< font color = "red" > float: left; < / police >
}
< / style >
< / pre >

Notes:
1 "float: left;" requires no white space and successfully splits the column between the characters instead of whitespace.
2. "float: left;" reduces the height of the cell and allows the page to show through... could not determine how to solve this fundamental problem.
3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

I've did some more research, but I've yet to discover how to create a fixed-width column in an interactive APEX 4 report that displays correctly in Internet Explorer 7 browser.

Ideas and help will be appreciated.
what theme are you using?

A customized version of the 15 theme.

You said you were using APEX 4.0, if I was testing on 4.0, but using one of its new themes based on the standards. 15 theme is a theme of legacy from older versions of APEX, mainly to ensure a certain level of support for the despised IE6 browser. The new themes are designed to restore mode standard and those inherited mode quirks (This is explained here). Firefox (and Safari, Opera and Chrome, and...) for your application, it's academic: all the required CSS: selectors attribute, the property max-width and dressing work in two modes.

Enter Microsoft. They decided that in IE7, backwards compatibility meant that new CSS features would be supported only in standard mode, even if they had never been implemented in older versions, with no previous, behavior that may break. Go figure. Yes, even so the dressing will work in quirks mode (no surprise - Microsoft invented), attribute selectors, and max-width only. The latter is bug in standard mode, so I tried using widthworkaround, but who has always used an attribute selector, which of course is ignored, there are no selectors of friendly quirks mode in uneditable Oracle IR of supplement.

The best 2 options are:

1. stop using IE.

2. use a theme based on standards.

Less satisfactory would be:

3. change your theme custom (or some of its pages) in standard mode (but it could break him other stuff).

4 throw some JavaScript to fix the problem (I'll sleep on this one).

Tags: Database

Similar Questions

  • How to set the column width fixed in IR APEX 5

    Hello

    Is it possible to resolve to a specific column of an interactive report on a fixed width?

    Thank you

    Jos

    Jos Dols says:

    Theme: 42

    The column value contains HTML tags, so I updated the property escape special characters No..

    However, because of the value column extends out of the window so that the user must scroll to the right to view the columns of the other/next:

    So I want to report column width be less than 100%.

    Add a static ID to the IR column and set the column width required using a style sheet in CSS Inline property page:

    th#static-id,
    td[headers="static-id"] {
      width: 16em;
    }
    
  • Need help to create a button on a page of interactive report.

    Hello everyone,

    I am trying to create radio buttons on a page of interactive report. Here are sql, used for the radio and interactive report button:

    Select apex_item.radiogroup(1,a.key_atm_insp) as "select."
    b.KEY_LOCATION,
    b.NME_INST,
    b.ADR_STREET,
    b.ADR_CITY,
    b.ZIP,
    a.KEY_ATM_VIOLATION,
    a.KEY_ATM_INSP
    ATM_VIOLATION a.,
    ATM_BRANCH_INFO_TT b
    where b.KEY_LOCATION = a.KEY_LOCATION;

    Above sql create several lines, but do not create the radio button instead show the text as ' < input type = "radio" name = value "f01" = "29039" / > "on the browser. Here is an example of one of the line that displays o browser.
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    < input type = "radio" name = "f01" value = "29039" > 48552 JPMorgan Chase Bank, National Association 82 road & Route 376 Hopewell Junction 12533 693 29039
    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Your help/comments would be very appreciated.

    REDA

    go to the report attributes, Edit Column ("Select" column) change the view regarding "* Standard report column."

  • How to create a labelfield with fixed width and dynamic height?

    I got this question in fact for a long time and I have not found answer in this forum so far.

    As we know, we can use:

    public int getPreferredWidth()
    {
        return fixedSize;
    }
    
    protected void layout(int width,int height)
    {
        super.layout(getPreferredWidth(), getPreferredHeight());
        super.setExtent(getPreferredWidth(), getPreferredHeight());
    }
    

    to set the width fixed in a field, but if the text is too long and should be multiline, this will bring problem, getPreferredHeight() only returns the preferred height, which is actually not the actual height, so the text will be hashed.

    So what should this setting? height?

    super.setExtent(getPreferredWidth(), height));
    

    No.... the height value is too large.

    So, how can we set this parameter to make this labelfield looks perfectly.

    Any idea?

    A search on the web is expected to increase a lot of examples of functions in Java text wrapping. Especially for BlackBerry, you can use Font.getAdvance (String text, int start, int len) to measure the width of a text segment without the expense of creation of substrings.

    The basic logic is to analyze the text character by character. If the "\n" character, force a line break. If the character is a space, then it is a line break candidate; Check if the line so far is set. If so, then move the candidate to that character end and continue; If this is not the case, go back to the previous candidate break and put an end to the line right there. The loop is initialized so that there is always at least one character on the line. The process ends when you run out of text. Details (including dealing with empty text, several spaces, etc.) are kept as an exercise for the reader, or search the Web well.

    I wouldn't worry efficiency. Put on the page of the field is not all that often, and when it's done, there's no escape from the need to make the work of packaging line at some point before the text is rendered on the screen. One way to avoid unnecessarily repeating work is to memoize the function of packaging line: wrapped lines and the width of the film cache and reuse them as needed. The cache is marked invalid if changes to text or the current width and the width of the film cached differ.

  • How to create the column of the table for long-form Master detail relationship

    Apex 4.1

    Oracle 11g

    I created a form master detail and see the main table hotel_list and table hotel_mapping as detailed below.

    Hotel_list

    ID HOTEL_NAME

    1 Holiday Inn

    Hotel Hilton 2

    Hotel_mapping

    ID HOTEL_NAME MAPPING_NAME

    1 Inn Holiday Inn Select hotel

    2 holiday hotel Holiday Inn Select

    3 hotel Holiday Inn Holiday Inn Hotel

    4 Hilton Hotel Hilton Hotel chain

    Hotel Hilton 5 HiltonHotel

    Table Hotel_name Hotel_list is a linked table Hotel_mapping

    When I add a line to the Hotel_mapping table for the selected row in the hotel_list table, mapping_name of column is null, therefore impossible to create the relationship between the main table and the secondary table.

    I would like to know, how to create the relationship?

    Thank you very much

    Best regards

    Yong Huang,

    simple step see creating a form detailed master with APEX - Assistant Master retail

    and check how to maintain the relationship between two tables,

    simple return the packaged application «Sample of Masters details»

    and try to understand this concept...

    In your example, use Hotel_list.ID as a foreign key in the table Hotel_mapping

    and maintain the relationship with the column ID...

    and choose the display type of the column Hotel_list.ID in table Hotel_mapping as List(Query Based LOV) select.

    otherwise the best way is to create sample on oracle.apex.com

    I hope this helps...

    Leave.

  • How to create ePub available files fixed

    I have just piurchased ID - CS6. My goal in upgrading is thatI am Illustrator / author of books for children and am dying to learn how to create ePub fixed provision for apple files and the Kindle of out of print books. Can you tell me where the best place is to learn how to do this? Thanks in advance!

    Also looking for user groups!

    Ah, well take a look here:

    rel http://www.rorohiko.com/WordPress/manuals/Fixed-layout-EPUB-Assistant-in-InDesign-epubcraw.

    http://www.YouTube.com/watch?v=VNgtx2oUnxU

    http://www.circularsoftware.com/sneak_preview/

  • How to create a layout ePub fixed?

    I am trying to create a book of photographs to sell as an ePub on the kindle store - I did a lot of iBooks and published in the iBookstore - unfortunately it recently was rejected because Apple censorship rules. My books exactly the look I want to do in iBooks and want to recreate as much as possible to sell in the mobi and EPUB. I noticed that unfortunately there doesn't seem to be a program similar to iBooks to author of ePub files... I tried InDesign CS6 for EPUB but moved to Pages that I thought that it would be simpler.

    So far I can't find anything that explains step by step how to make fixed provision EPUB - in any program - usually I use Lynda.com but they only fixed layout files ePub for the iBookstore. My knowledge of inDesign and iBooks author is pretty good but my knowledge about HTML is limited. Is - this accomplishable?

    Here are some links that might be useful for you to help you to start with a fixed layout EPUB:

    How to create configuration fixes iBooks by R. Scot Johns

    Field Guide to layout sets for electronic books a free ebook on the ins and outs of the EPUB fixed layout (I found it only today if you have not yet read)

    EPUB 3 Documents available fixed

    ePubCrawler - Fixed InDesign to layout EPUB converter. (a tool to convert InDesign documents available fixed ePub. It worked very well for me: I had to make only small adjustments on the CSS styles).

  • How to get the value of the interactive report into apex 5 column

    Hello

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    Hi SYSMAN2007,

    SYSMAN2007 wrote:

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.

    See: How to use the values in the columns of an interactive report (Apex 5)

    Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.

    See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5

    Kind regards

    Kiran

  • Create null values in the database for interactive report link column values

    Hello

    I'm pretty new to APEX and tries to create an interactive report with the form. This report examines essentially for more information for a particular employee. If the employee has any information in the table, the report presents information with a button change beside him. If there is no record in the table for this employee, a create button appears. Now when you click create, a new creation page. This page contains the employee number as a single display field with the value from the previous page. This value is displayed in the page, but it is not in the database. Create the page has view-only number and a couple of other columns. The other columns get inserted into the table with an empty number!

    Can someone please? Looks like the page keeps the value zero for the number of the employee who came during the search of the interactive report. Hope I made myself clear, being the newbie hope I haven't used any incorrect terminology.

    Thank you!
    Robet

    Without the DB column, apex will not determine which DB column the data in this field are mapped to (it would be quite impossible to guess the destination since the name of the element column).

    If you want to assign to the previous element of the page, use the default section

    return: P1_EMP_NUM

    By default the value Type: body of the PLSQL function

    and configure the attributes of source as I said before

  • Contains no column 5 added to the interactive report apex

    Hi, I added a column in the query to the interactive report region and it does not appear in the designer of the Page, as it is not available when running in the list of columns through the action of the report menu.

    In the 4 apex when the query was changed directly a message was generated with the details of the new or modified columns, but the Apex 5 when I change the query and save, nothing happens.

    How to view the new column?

    Thank you.

    carlosjch wrote:

    Thanks fac586, I already tried to use view of the component, when I modify the query the new column is added, a message appears: area update.   No details of the new column appears in the message.  The result is the same, the column is not available after that.

    What happens if you create another IR with the new query?

  • How can I access the filthers used in the interactive reports?

    Greetings,

    I develop several applications for APEX.
    Right now I make use of interactive reports.
    They are excellent tools, simple querys can do a lot if they use an interactive report.

    How you can that yend users can perform a filthers on the road is one of the best features that they have, from my point of view.
    It's so good that I was wondering if it is possible to use the filthers activated by an end user.

    Example, this query is in an interactive report: SELECT name, action, year of aux_table;

    If the user sees every line of it, but being in an interactive report, the user can add a filther in column of the year, for example, and display only the lines of the year 2008.
    It is very well... And here the question arises...

    Suppose I want to do a query based on the filthers currently, the user has activated, is this possible?
    I have a created delete action that will delete all the files, BUT I want to apply the filthers to the end user than delete action, the action would be:

    DELETE FROM aux_table where year = 2008

    Is it possible to make querys that take advantage of the filthers defined by the user for interactive reports?

    Thank you

    NP - take a look on Re: interactive report - save the output and links there, they can help guide you

    Andy

  • Add a column "command list" to an interactive report

    Is it possible to add a list of drop-down menu commands as a column on an interactive report?  I want users to choose an action (update a field in the row, change a background color of a field...) to update the report without sending them to another page.  I use Apex 4.2

    Thanks for the tips

    William

    You can create a selection in a column list.

    Orders? No... you have to code them yourself... nothing of what is available in a box!

  • Add columns in the area of interactive reports

    Hello Experts,

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    Please help me...



    Thank you

    Xandot wrote:

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    After adding new columns to existing NPA, you must select them for display as developer and Save the new report as the default main.

    Please see the documentation for interactive report.

  • How to get .oce to talk to DAS &amp; bring interactive reporting data?

    Hi Hyperion Experts,

    It is also a pretty basic question, I use Hyperion 9.3.1 and I Shared Services, workspace and interactive Studio reports running on our Windows Server 2003.

    My goal is to import a .bqy document that I created in Studio of Interactive Reporting in the workspace and be able to click on the button "Refresh" and see that it refreshes the data in the back-end Oracle 10 g database.

    I completed the following steps so far,

    1. I created a DSN. This DSN named 'Oracle 10 g Data Source', when I clicked on the button "Test connection", he was properly executed.

    2. I created a new entry of the data source in the DAS service. If I double click on the newly created data source entry, the screen displays the following details.

    Type of connectivity = Oracle Net
    Database of Type = Oracle
    Enter the name of the data source = Oracle 10 g Data Source
    Select the name of the data source (it is grayed out, nothing is selected)
    Server/folder (it is grayed, nothing entered)
    then, followed by a few default connection settings.

    3. I created a file of "Oracle 10" g Data Source.oce using the Studio Interactive Reporting. I saved the .oce file in
    C:\Hyperion\BIPlus\data\Open catalog Extensions\Oracle 10 g Data Source.oce

    4. I created a new constrProj_Oracle10gOCE.bqy when creating, I chose
    "Create a new document with the recent database connection file" option, so I chose the Oracle 10 g Data Source.oce I created in step 3. After that I connect with host username/password, I created a data model and I see that he brings a set of data when I clicked on the "process" button I saved this document .bqy.

    5.
    I imported the Oracle 10 g Data Source.oce and constrProj_Oracle10gOCE.bqy in the workspace under a folder called
    MYBI/test/root

    6. I right click on the constrProj_Oracle10gOCE.bqy document and chose "open." He opened with the results section highlighted on the left side and data showing on the right. However, when I clicked the "Refresh" button, I get a message box with a red X. It is said:

    A Reporting Service interactive error -.
    Unable to acquire the requested service.
    (2001)

    I suppose that the data I see in this constrProj_Oracle10gOCE.bqy was just the cached data that has been brought to the time where I hit the button to deal with this .bqy when it was first created in the Studio, and that he has never established any connection through the DAS service for the backend.

    Could someone please show me what I've done wrong here?

    Thank you

    hypuser1010

    You can change the TNS entry for the source of ODBC data on the server without ill effect is because it's redundant in your situation :-) You never didn't it because you did not in place of the ECO to use an ODBC data source in the first place.

    do not forget that the DAS data sources are not the same as ODBC data sources. You only need an ODBC data source on your server if your OCÉ uses one. In any case, the DAS data source name should always match the text entered in the field host name to ECO.

    Glad to hear the bqy document now refreshes needed.

  • Column of image in an interactive report (APEX 4.0)

    Hello
    I added a new column of type blob containing images in an interactive report, but get the following error: -.

    ORA-06502: PL/SQL: digital or value error: character of number conversion error

    If the "IMAGE" column is removed from the State by using the control "actions: select a column ', the report is ok.

    The column contains the following parameters in the "BLOB download Format Mask": -.

    IMAGE: WINEDETAILS:IMAGE:WINE_ID:MIMETYPE:FILENAME:inline:Download

    Did I miss something?

    Concerning
    Tim

    Select wine_id, wine, dbms_lob.getlength (image) my_image
    of wine_details

    -Sharon

Maybe you are looking for