JDeveloper 10.1.3.4: text-align for table column has no effect

Hi,
I am using JDeveloper 10.1.3.4. In a tabe I have a column that displays numbers, which are left-aligned by default:
Applied
$50.00
$2,160.00
$50.00
$2,260.00I want to have them aligned to the right to look neater:
Applied
         $50.00
      $2,160.00
         $50.00
      $2,260.00Or better still, have the cell with the longest string aligned to the center, and all the other cells align to it by the decimal point:
    Applied
      $50.00
   $2,160.00
      $50.00
   $2,260.00I looked in the property inspector and the only thing that looks closest to the purpose is text-align. I set this attribute to right (text-align:right) for the column, and for the outputText, but neither has effect. Everything is still flush to the left. How to get it right?
Thanks!
Newman

Hi, Branislav,
Nice meeting you again.
Last time the question was about formatting the total amount returned from the method, from String to Number, Re: JDeveloper does not handle expert SQL, cannot add query clause in view link, which can also format the number as currency.
This time, your answer again solved my problem. I was looking in the inline styling section, and did not notice this property in the General section. Thank you so much for your help!
Newman

Similar Messages

  • Prompt Group Text value for parameter that has cascading prompts.

    <p>Does anyone know how to get a Prompt Group Text value for parameter that has cascading prompts. C# sample would be great.</p>

    Hi Sateeesh,
             I delete main memory, but does not work. if I display prompt value in list box, it shows as text value, but in 'query prompt selector', it shows as key value. I am using SAP BO 4.0

  • How to use simple types for table column names ?

    Hi,
    can any one tell how to to use simple types for table column names?
    It is required in internationalizing of webdynpro applications.
    Regards,
    Rajesh

    Hi,
    1: define required column names in <SimpleType>
    2:use the following code to get those values
    3:bind 'text' property of Column headers to context attributes
    4:take a context attribute 'Value' as type of <SimpleType>
    5:set these values to context attributes
    IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
    ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
    Map m=simple.getEnumerationTexts();
    Collection c=m.values();
    Iterator it=c.iterator();
    if(it.hasNext())
    wdContext.currentContextElement.set<att1>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att2>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att3>(it.next().toString);
    Regards
    LakshmiNarayana

  • Header1 size is required for Table Column header

    Hi Friends,
    I wanted to use Header1 size for Table column headers. Pls help me how to do.
    Now I am using external label with Header1 size to the table but labels are not aligned properly with the table columns.
    Regards,
    Lakshmi Prasad.

    Hi,
    For headers design property is not their so you cant change the font. Other option is to change the theme (Not tried personally).
    Regards
    Ayyapparaj

  • Change Font Size for Table Column

    Hi,
    How can we set different font sizes for table columns?
    Thanks,
    Uma.A

    Hi
    Set Design property of table column
    Aslo check this link
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/66/18b44145143831e10000000a155106/frameset.htm
    Thanks

  • How to get the F4 help for table columns ..

    Dear All,
    Here I have created table with cell editors of INPUT FIELD .
    And I would like to provide the f4 help for those columns .
    Here I have checked the node , which i have binded to the table, there input help mode is set to Automatic and search helps are also attached for that node .
    But in the table I am not getting the F4 help . Where as if i create the input fields invidually i am able to see the F4 help .
    But for table column I am unable to find..
    Help me regard this...
    Thanks & regards,
    Veerednra Nath

    Hi,
    In debugging , the I have seen the node info attributes list ( VALUE_HELP_ID and VALUE_HELP_MODE ) .
    For you understanding, Here I am giving the values which contains ,
    VALUE_HELP_ID contains the AUTO:VBUK
                                                    AUTO:VBUP
                                                    AUTO:MAT1
                                                    AUTO:H_T023
    and
    VALUE_HELP_MODE contains the  all Zeros for all the four attributes .
    Hope I have given correct inputs .
    Thanks & Regards,
    Veerendra Nath

  • Maximum Allowed Text Length for JTable Column

    Can you please help me with a JTable Doubt
    How do I set the Maximum Allowed Text Length for a Particular Column of a JTable?

    Thanks a lot mate. I used the following
         class MaximumLengthFilter extends DocumentFilter {
                   public void replace(DocumentFilter.FilterBypass fb, int offset, int length,
                             String text, AttributeSet attr) throws BadLocationException {
                        if ((fb.getDocument().getLength() + length) < 10)
                             fb.replace(offset, length, text, attr);
                        else
                             Toolkit.getDefaultToolkit().beep();
              }

  • Nested Composite Component Doesn't work for table column

    I have reported this issue as defect 1541 but I'm hoping someone my have a suggestion on a work around for this. Here is the issue
    I am attempting to use composites to represent a table column. I have tried this with both IceFaces and the standard implementation. I have a custom component that is of type UIColumn that is being inserted into another composite that houses a table. The table renders and the column renders. However, the outputText that should represent the row data does not render. Interestingly this will render using composites when I don't have the column rendering as a composite (IE the table is contained in the composite and the row level output is contained in the top level page.). That is not my requirement though. This seems to be a tough cookie to crack. I have the source now and am starting to acquaint myself with it in an attempt to figure out what is going on. Any brilliant ideas out there?
    Code is below.
    tableColumn.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <composite:insertChildren />
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>
    table.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    <title></title>
    </h:head>
    <h:body>
    <composite:interface>
    </composite:interface>
    <composite:implementation>
    <ice:dataTable augmentTitle="false"
    rows="10"
    value="#{SessionBean1.carDataProvider.tableDisplayList}"
    var="item" >
    <composite:insertChildren />
    </ice:dataTable>
    </composite:implementation>
    </h:body>
    </html>
    Example Page
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:temp="http://java.sun.com/jsf/composite/tempcomp"
    <h:head id="outputHead1">
    </h:head>
    <h:body>
    <ice:form id="form1">
    <temp:table>
    <temp:tableColumn>
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </temp:tableColumn>
    </temp:table>
    </ice:form>
    </h:body>
    </html>
    The the new UIMyColumn class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package icefacestestapp2;
    import com.icesoft.faces.component.ext.UIColumn;
    import javax.faces.component.FacesComponent;
    @FacesComponent(value = "MyColumn")
    public class MyColumn extends UIColumn {
    @Override
    public String getFamily() {
    return "custom";
    Interestingly the row text will not render even if I add it directly to the new
    composite column class as seen below.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>

    Hi,
    I recall an issue in 10.1.3.2 with inner frames that had the wrong JavaScript reference to the DOM. So I assume this to be the same in your case. So you can give it a try with JDeveloper 10.1.3.3 and see if this fixes the problem
    Frank

  • How do I get text inside a table column to stretch the whole column width?

    Hi I am using JDeveloper Studio Edition Version 11.1.1.0.2.
    I have some tables where one of the columns are quite wide (700px) wide and some quite narrow 50px. It doesn´t look pretty. The input text inside the 50px column looks like it stretches out of the column and the inputtext in the 700px column leaves a big empty space in the right side of the column. What I had hoped for is columns which have the same padding to its content as a 100px column no matter the columns width. How do I do that? Do I have to use skinning?

    Well I don´t want the space on both sides of the input text to be that big either so that doesn´t solve the problem.

  • Vertical Alignment in table columns

    Using JHeadstart 10.1.3.4.
    Different display types are differently positioned in table columns. Single text seems vertically centered; text fields with multiple lines are vertically aligned at the top of a table column; vertical radio buttons are vertically aligned at the bottom of a table column. The resulting display is quite messy.
    I have not found any formating option in JHeadStart that allows for controlling vertical alignment. Am I a missing something?
    If JHeadStart 10g does not support controlling vertical alignment directly, how should this be handled? Does JHeadStart 11g add such vertical alignment support?

    Hello,
    If you need anything special considering vertical alignment in tables, you can simply perform that in the resulting JSPX page. In other words, just alter the JSPX file to whatever you need.
    Save your customizations in JHeadstart using velocity templates, so your page is regenerateable while keeping your changes. See the JHeadstart Developers Guide on how to change such customizations in the templates.
    Also in release 11 there is no vertical alignment (yet); I suppose because for most tables, each row just has a single line and vertical alignment is therefore not needed. However, I have put it on the wish-list, so we will check on it later. Thanks!
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Which option to use to search text in multiple table columns

    Hi, I have a case where I have 4 db tables. On the UI there is an option to search a keyword from some columns of these 4 tables.
    Table1 = summary, description are the columns user can search on
    Table2 = project_name is the column user can search on
    Table3 = need_by_date is the column user can search on
    Table4 = owner is the column user can search on
    On the UI, user can enter a keyword and check the columns they want to search on. Out of the above, they can check one column, or more, or all.
    My question is what is the best option to use oracle text search in this case.
    Option 1 = I create a procedure to select these columns and then create an index on this procedure. In this case, is there a way to specify
    which columns to search on?
    Option 2= Create 4 separate indexes on these table/columns and then query the columns which user has selected to search on.
    Any other better idea?

    Hi,
    multicolumn only works on columns in the same table.
    If you can also query just on one field, then an index per field will be preferable. If you query always on all the fields then the one index approach is good. For this last the options are:
    1. Use User_datastore, create a procedure and a dummy column
    2. Create a materialized view for the query and build an index on this materialized view
    3. Store the fields as an xml in the main table and index the xml column.
    The maintanance of options 1 and 3 are bigger, because you need triggers to be aware of an update. Option 2 and 3 will need more storage.
    Herald ten Dam
    http://htendam.wordpress.com

  • Frame 9 solution for table column + side head does not work in Frame 10 and 11

    In Frame 9 structured (DITA) we could force Frame to record the actual widths of table columns in the DITA XML.  Frame 9 would respect the widths when opening the file.  This was particularly useful for forcing tables to be wide -- to go across the column and the side head -- and for the columns to never resize. 
    In Frame 9 this was done by commenting out the line
    "writer use proportional widths;" 
    like this
    "/* writer use proportional widths; */"
    in the topic.rules.text" file located in
    "...\FrameMaker9\Structure\xml\DITA\app\DITA-Topic-FM"
    This no longer works in Frame10 and Frame 11.  Even though the same line is commented out in all the "NAME.rules.txt" files in all the subdirectories of
        "...\AdobeFrameMaker11\Structure\xml\DITA_1.2\app"
    and
        "...\AdobeFrameMaker11\Structure\xml\DITA\app"  
    and
        "...\AdobeFrameMaker10\Structure\xml\DITA_1.2\app"
    and
        "...\AdobeFrameMaker10\Structure\xml\DITA\app"  .
    Commenting out the line does force Frame 10 and 11 to record  the absolute column width (2.357" etc.) in the DITA XML.
    However, on Open,  Frame 10 and 11 force the table to fit in the column, not the column and sidehead. That is they behave as though they were still using proportional column widths.  It seems the original values (as inserted by Frame 10 and 11 before closing!) are recalculated on Open, thereby mimicking the default proportional width behavior.  
    For example, this on Save then Close from Frame 10 or 11
    <table frame = "topbot" colsep = "0" rowsep = "1">
    <tgroup cols = "4" colsep = "0" rowsep = "1" outputclass = "FormatB">
    <colspec colnum = "1" colname = "1" colwidth = "1.796in" colsep = "0"/>
    <colspec colnum = "2" colname = "2" colwidth = "1.852in" colsep = "0"/>
    <colspec colnum = "3" colname = "3" colwidth = "1.179in" colsep = "0"/>
    <colspec colnum = "4" colname = "4" colwidth = "2.152in" colsep = "0"/>
    goes to this on Open then Save: 
    <table frame = "topbot" colsep = "0" rowsep = "1">
    <tgroup cols = "4" colsep = "0" rowsep = "1" outputclass = "FormatB">
    <colspec colnum = "1" colname = "1" colwidth = "1.351in" colsep = "0"/>
    <colspec colnum = "2" colname = "2" colwidth = "1.393in" colsep = "0"/>
    <colspec colnum = "3" colname = "3" colwidth = "0.887in" colsep = "0"/>
    <colspec colnum = "4" colname = "4" colwidth = "1.618in" colsep = "0"/>
    Any help at all would be appreciated!  
    We have 8,000 to 10,000 pages to PDF in the next few days and about 33% of those pages are messed up tables!
    Message was edited by: borealforest

    Hi...
    Unfortunately, I don't have any insight into the default DITA table handling in FM10 or FM11 .. so can't give you the answer you're looking for. Since both FM10 and FM11 offer ExtendScript, you could write a script (or have one written) that processes all of your files to reset the table widths. Or, perhaps the best short term solution may be to reinstall FM9 to get the job done, then spend more time later to figure out a better solution.
    One alternative would be for you to use DITA-FMx, which supports the table/@pgwide attribute for controlling which tables span the page and which don't. Since your tables probably don't make use of this attribute, it won't help in the near term, but might make sense going forward.
    Cheers,
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Item Texts in a Table column

    Hi All,
      I am working on a Purchase Order Adobe Form. We have a requirement to display multiple item level texts i.e. material text, item text and delivery instructions in one of the table column. How can i add all these three item texts in one of the column. For every item, i have to display all these item texts in the same column. Please suggest me how to do this.
    Thanks,
    Kumar

    Hi Kumar,
    Using nested tables you can do something like this.
    for that particular column have a subform (type flowed top to bottom) instead of anyother UI element , with in this subform have your 3 tables for the 3 table type fields. and do data binding as usual.
    If it's with nested subforms.
    1) the main table in a nested subform of flowed western text, so all the individual fields will become coulmn here.
    2) for this specific column of 3 tables have a subform instead.
    3) in this subform have your 3 tables for the texts.
    do the binding as usual.
    in all the cases the context should be similarly nested.
    let me know if you need any more help.
    Cheers,
    Sai.

  • WD ABAP: Problem with Header text wrapping in Table Column

    Hi,
    I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
    Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
    Thanks,
    Adithya

    hi..
    Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true.

  • Soft enters for table column head breakup

    Hi,
    Can i have any option for the the below requirement?
    I need to give soft enters for all table column head breakup's. (see the below screen shot). When i export to HTML the column heads are run-in against the PDF output.
    Regards,
    Velu

    Hi Velu,
    try the following:
    var curDoc = app.activeDocument;
    var allTables = curDoc.stories.everyItem().tables.everyItem();
    app.findTextPreferences = app.changeTextPreferences = null;
    app.findTextPreferences.appliedParagraphStyle = curDoc.paragraphStyles.itemByName("TCH");
    var allFounds = allTables.findText();
    app.findTextPreferences = app.changeTextPreferences = null;
    for ( var i = 0; i < allFounds.length; i++ ) {
        var tableFound = allFounds[i];
        if ( tableFound.length > 0 ) {
            for ( var j = 0; j < tableFound.length; j++ ) {
                var curFound = tableFound[j];
                        var allParaLines = curFound.lines;
                        for (var n = allParaLines.length-2; n >= 0 ; n--) {
                            var curLine = allParaLines[n];                       
                            if (curLine.characters[-1].contents != SpecialCharacters.FORCED_LINE_BREAK) {
                                curLine.insertionPoints[-1].contents = "\n";
                            } // end if
                        } // end for
            } // end for
        } // end if
    } // end for
    –Kai

Maybe you are looking for