Columns should be left justified

Hi all,
I used a t:dataTable to display my search results, My req says all the columns should be left justified, how can I do that? Can some one help me in this?

<t:dataTable
     footerClass="dataTableScrollerFooter"
     renderedIfEmpty="false"
     preserveDataModel="false"
     preserveSort="true"
     varDetailToggler="detailToggler"
     columnClasses="alignLeft"
     rowClasses="oddTableRow,evenTableRow"
     rows="#{sessionUserBean.user.resultsPerPageOption}"
     value="#{result.result}"
     var="legalProfessional">
     <t:column >
          <f:facet name="header">
               <h:outputText value="Type" style="font-size:8pt;" />
          </f:facet>
          <h:outputText value="#{legalProfessional.type}" />
     </t:column>
     <t:column defaultSorted="false" sortable="true">
          <f:facet name="header">
               <h:outputText value="Last Name" style="font-size:8pt;" />
          </f:facet>
          <h:outputText value="#{legalProfessional.firstNameOccurance.lastName}" />
     </t:column>
.alignLeft {
          text-align: left;
     }I am able to left justify the results but not the headers of the dataTable even I used columnClasses, Can you tell me where I am going wrong in this?

Similar Messages

  • Left justified

    Hi iam developing an extraction program on cost center master data, my requirement is the logical file should be (~) delimetered and all fileds are left justified.
    there are 10 fileds all are 'C' data type.
    i know how to delimeterd but can u tell me what is left justified and how can i make all the fileds are (including datatype N and C ) left justfied?
    please explain indeatils
    Regards
    neeru

    Type N and type C feilds should be left justified by default, no need to do anything special here.
    REgards,
    Rich Heilman

  • After updating to Firefox 5 on a Windows 7 PC the bookmarks icon won't stay on the toolbar and I can't click it to get a bookmarks column on the left side of the screen, how do I fix it?

    There was no bookmarks icon on the toolbar. I used View > Toolbars> customise to put various icons on the toolbar all of which were visible using "customise". On going back to Firefox all the other icons remained visible but the Bookmarks Icon disappeared leaving no means of getting a bookmarks column on the left of the screen when using Firefox.

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar<br />
    If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" and check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Facebook is left justified on my machine only. erashing cache does not fix it. need help.

    this just started today.
    i've followed every single step on the support with no change.
    -i've updated to firefox 10
    -i've cleared both caches 10 times, also used third party programs and manually after that did not work. no change.
    -i've tested the font size (it's where it should be)
    -tested java script (it is on)
    -tested zoom. When zooming in or out the page fixes itself and goes centered, but when at the default zoom, the site is left justified instead of centered.
    i would really appreciate some help here. bad enough firefox crashes enough for other reasons, but now that the number one page i go to on a daily basis isn't working right it's basically enough reason to leave for good.

    I have an answer!!!
    Check it out, I uninstalled Firefox and IE from my machine, reloaded the default IE.
    When I reloaded it (IE) and went to facebook, my machine said there was a certificate error, i hadnt seen this before for some reason (my wife ignored it or something).
    I clicked ignore and it came up with the left justified angry mess we all hate so much, well IE then popped up in the bottom saying something about blocking the content associated with the bad security certificates, also giving me an option to display said content, i clicked the button and low and behold beautiful colorful facebook pops up.
    Well I press back and go back to the Certificate Error screen and I click on technical details, it says something along the lines of "Certificate for this website works starting November 11, 2011, and system time is march 02, 2002.....
    .......wait what?
    I look down, sure enough, system time, 2:44AM, 03/02/2002.
    ......So I reset the time (this tells me, by the way, i need to crack open my laptop and replace that little nifty system battery that keeps the clock accurate, they go out every so often, newegg/ebay sells them for cheap),
    so after i reset the time i simply (on the error page even) hit refresh and bam, like there was never anything ever wrong.
    Conclusion: if your system time is messed up (how often do you really look at it) and the year is wrong, it'll screw up EVERY browser you try to use, because every browser (in an attempt to protect you from risky websites) is blocking content that doesnt have a valid security certificate (because the date is xx years away from even being initiated).
    Hope this gets to you in time before you go all Office Space on your computer.
    (I created an account JUST to write this reply)

  • CS4 Help with spry menu bar. Want Top Centered and Subs left-justified.

    Hi there, using DW8 mostly, but have the trial version of CS4
    for the spry menu bar. WinXP.
    Can someone help me with the spry menu bar on this page? I'd
    like the main menu to be centered, as it looks better for
    appearance, and the sub menus to be left-justified.
    http://www.manmeetswoman.com/example4.html
    But I can't seem to do that, if I make the main menu
    centered, it seems to override the submenus even if I make a class
    just for the submenu to be left-justified.
    Am I doing something wrong or is this not possible?
    And the menu bar looks horrific in IE6. I assume it looks ok
    in IE7 and above. Can someone help me with a code just for IE6 for
    this?

    audio90 wrote:
    Not quite what I was looking for. I'm wanting the top menu to be grouped together and to the right and the submenu boxes to all a single square box, not just with backgrounds extending only the length of the word. Also, your menu bar doesn't display properly in IE6 either.
    1) You should be able to achieve a square box for your submenu items by fixing the widths of all of your submenu items to something larger than the content of your widest submenu <li> tag.  This should be achievable with a single change of setting in the following CSS rule.
    ul.MenuBarHorizontal ul li {
         width:???em;
    Set your width using em units, so that the box shrinks and grows with the size of the text when the latter is changed by the user.
    2) Getting your top menu items to group together to the right may be more difficult as the entire menu bar is built on an HTML list structure with left-floated <li> tags.  If it is possible, then you should begin your experimentation with the following CSS rule
    ul.MenuBarHorizontal li {
         float:right;
    Change the float property from left to right, as I have indicated.
    My suspicion, however, is that many subsequent adjustments will have to be made.  So, back up your current CSS file before you begin.
    Roddy

  • Ability to left justify dollar sign in report

    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.

    user8769897 wrote:
    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.You can acheive this by calling CSS class in the column properties. Refer to this link to get some ideas and how to get started ( http://obiee101.blogspot.com/2008/09/obiee-custom-css-style-class.html )

  • Message Mapping using Left justified, right blank/space filled

    Hi,
    My Interface is outbound Interface.
    Suppose source field named 'Filename' is mapped with Target field named 'Filename'.Condition is AS IS(Left justified, right blank/space filled).
    How should i do this mapping?

    Hi Sanghamitra Duttagupta,
                                                you can try this UDF below
    public static String fieldJustified(String s)
              try
                   final int fieldLength=20;
                   char filler=' ';
                   s=s.trim();
                   int l=s.length();
                   while(l<fieldLength)
                        s=s+filler;
                        l++;
              catch(Exception e)
                   return s;
              return s;
    Please reset the value of the variable "fieldLength",  in code above to the field length as per your need. The right side will be filled with extra spaces since value of "filler" variable is ' '. you can set this to any character of your choice so that total field length is equal to value of variable "fieldLength" (which is 20 here).
    so if input is  "        hi"
    output           "hi                  "
    regards
    Anupam
    Edited by: anupamsap on Aug 1, 2011 1:53 PM

  • Making a textframe centre within margins but be left justified

    I'd like a textframe to size its width automatically and centre itself within page margins, but for the text to remain left justified. Is this possible? e.g. Three pages of poetry with very different line lengths. If possible this would be some sort of general layout that I could then drop different pages of text into

    I like the double-click-the-right-handle idea. And if you need to add a poem earlier, add a page using the page palette and all of the custom frames will stay with their poems.
    I happen to have an Applescript for shrinking a frame to its longest line and centering it. It's designed to work both for left or centered justified text (I had some poems where the text was centered but the author attribution was right justified, we wanted the right end of that to line up with the right end of whatever the longest line of text is, so shrinking those text frames was important too). You can select all of the frames on a spread and it will adjust each of them to its longest line, or if you've got text selected it will work on whatever frame the cursor is in. I've adapted it below to an 8.5 x 11 page document, but it's pretty straightforward to change. You'll want to define LeftColumnCenter to the horizontal offset, in picas, of the centerline of the left page; and likewise RightColumnCenter to the centerline of the right page.
    Assign this a keystroke shortcut, and your job should zip along.
    tell application "Adobe InDesign CS3"
    tell view preferences of active document
    set horizontal measurement units to picas
    end tell
    -- Change the following numbers to the horizontal offset, in picas, of
    -- the vertical line you want the frame to align to on the left and right pages.
    set LeftColumnCenter to 25.5
    set RightColumnCenter to 76.5
    repeat with SelectionCounter from 1 to count of items in selection
    set mySelection to item SelectionCounter of selection
    if class of mySelection is not text frame then
    set myFrames to parent text frames of item SelectionCounter of selection
    set myFrame to item SelectionCounter of myFrames
    else
    set myFrame to mySelection
    end if
    -- get the boundaries of the selected frame
    set OriginalBounds to geometric bounds of myFrame
    set OriginalTop to item 1 of OriginalBounds
    set OriginalLeft to item 2 of OriginalBounds
    set OriginalBottom to item 3 of OriginalBounds
    set OriginalRight to item 4 of OriginalBounds
    -- figure out if the selected frame is on the right or left page
    set ColumnCenter to LeftColumnCenter
    if OriginalLeft is greater than 56 then
    set ColumnCenter to RightColumnCenter
    end if
    -- find the length of each line in the frame and remember the longest one
    set NumberOfLines to number of lines in myFrame
    set LongestLine to 2
    tell view preferences
    set horizontal measurement units to points
    end tell
    repeat with myCounter from 1 to NumberOfLines
    if justification of line myCounter of myFrame is in {left align, left justified} then
    set StartOfLine to horizontal offset of line myCounter of myFrame
    set EndOfLine to end horizontal offset of line myCounter of myFrame
    set StartofCharacter to horizontal offset of last character of line myCounter of myFrame
    set EndofCharacter to end horizontal offset of last character of line myCounter of myFrame
    set ThicknessofCharacter to EndofCharacter - StartofCharacter
    set LineLength to (EndOfLine - StartOfLine) - ThicknessofCharacter
    if LongestLine is less than (LineLength) then
    set LongestLine to (LineLength)
    end if
    end if
    if justification of line myCounter of myFrame is in {center align, center justified, fully justified} then
    set StartOfLine to horizontal offset of line myCounter of myFrame
    set EndOfLine to end horizontal offset of line myCounter of myFrame
    set LineLength to EndOfLine - StartOfLine
    --+ (point size of last character of line myCounter of myFrame) * 0.05
    if LongestLine is less than (LineLength) then
    set LongestLine to (LineLength)
    end if
    end if
    end repeat
    --figure out the new width of the frame and assign the new bounds to the frame
    set HalfLine to LongestLine / 2
    set NewLeft to ColumnCenter - (HalfLine)
    set NewRight to ColumnCenter + (HalfLine)
    set geometric bounds of object reference of myFrame to {OriginalTop, NewLeft, OriginalBottom, NewRight}
    end repeat
    end tell

  • Right and left justified statement

    HI,
    I want to left justify the data and pad to the right with spaces.
    if lenth of value L is 10..
    It should look like 'L ' instead of 'L Space...    '.
    It should look like '00200 ' or '01200     ' I Don't want to suppress leading zeros.
    If I am doing right justified I am getting it as '         L' and if I am doing left justified that I am getting just 'L'.How can I get the value as   '   Space L'..?
    Please let me know which would be the easier way.
    Thanks,
    Mark

    I have modified and tested this code and it works fine as per your requirement. Please check it out.
    data : begin of i_val occurs 0,
    val1(12) type c,
    val2(13) type c,
    val3(14) type c,
    val4(15) type c,
    end of i_val.
    i_val-val1 = '1'.
    i_val-val2 = '2'.
    i_val-val3 = '3'.
    i_val-val4 = '4'.
    append i_val.
    *concatenate i_val-val1 i_val-val2 i_val-val3 i_val-val4 into i_val separated by '|' .
    <b>write : i_val-val1,'|',i_val-val2,'|', i_val-val3,'|',i_val-val4 to i_val.</b>
    write : i_val.
    OR
    data : begin of i_val occurs 0,
    val1(12) type c,
    val2(13) type c,
    val3(14) type c,
    val4(15) type c,
    end of i_val.
    i_val-val1 = '1'.
    i_val-val2 = '2'.
    i_val-val3 = '3'.
    i_val-val4 = '4'.
    *concatenate i_val-val1 i_val-val2 i_val-val3 i_val-val4 into i_val separated by '|' .
    <b>write : i_val-val1,'|',i_val-val2,'|', i_val-val3,'|',i_val-val4 to i_val.
    append i_val.</b>
    write : i_val.
    Message was edited by:
            Ashish Gundawar

  • A Characteristci appears twice under the Rows Column on the left hand side.

    Hi All,
    According to the requirement , there are 2 Material Numbers ,1 of them is used for Compounding,which is not required in the Report,but as it is used for Compounding ,we need to place that in the rows.
    We have put tat in "NO DISPLAY" mode,but  Material Number appears twice under the Rows  column, on the left hand side of the screen, in the Portal when we execute the Report.How Can we have to display only 1 Material Number on the left hand side of the screen?
    Thanks in Advance,
    Sravani

    the left hand side of the screen is reakky vague....you should be more specific...
    Probably you need to filter out the compounding characteristics in the global filter area.
    Thanks...
    Shambhu

  • Left justified for extraction file

    Hi iam developing an extraction program on cost center master data, my requirement is  the logical file should be (~)  delimetered and all fileds are left justified.
    there are 10 fileds all are 'C' data type.
    i know how to delimeterd but can u tell me  what is left justified and how can i make all the fileds are (including datatype N and C ) left justfied?
    please explain indeatils
    Regards
    neeru

    Hi,
    If you are using RTF layout template, left justify the cell there and put two spaces after the number to make Excel think its a character string?
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Preview app: Add text annotation with left justify?

    I'm using the Preview app to insert text into some PDF files. I can use the Annotate feature to create a text box in the area I need it and adjust the font, color, size, etc. The only thing I can't seem to do is set the justification to Left Justify. It will show text as center justify - anyone know how to change this?

    I can find out what the defaults are with:
    defaults read com.apple.preview
    There are many properties but a TextAligment property is not one of them.
    I tried below but they do not work.
    defaults write com.apple.preview NSTextAlignment 0
    defaults write com.apple.preview PVAnnotationTextAlignment 0
    NB: 0 means left alignment
    Any idea?
    Maybe Apple has to create an text alignment feature for the GUI or provide the property that we can set it from Terminal.

  • How can I display my bookmarks in a persistent column on the left of the display?

    I like to have a permanent display of bookmarks i a column on the left of the display. Having restarted FF, this is no longer shown.
    I see a View option to display the bookmarks toolbar - but I don't want a toolbar - I want to go back to having the list always shown on the left.
    Regards
    Dave Cope

    Go to View|Sidebar| then select bookmarks.
    davewdan

  • How do I left justify the text in the tabs of a JTabbedPane.

    In 1.3.1 this used to work by supplying an HTML string with <div align="left"> but when I run with 1.4.1 this is now broken and I get center justification.
    Does anybody know a way to get the text in the tabs to be left justified.
    Thanks,
    Philip

    First, I found while using JTabbedPane that the "standard" behavior is to allow to a tab the exact space needed to display the tab text. Hence with this behavior, there is actualy no difference of "left" or "center" aligned text. So I assumed that you found a way or another to make your tabs wider than the "string width"...
    Here is a solution:
    You can override the TabbedPaneUI class and ajust the "layoutLabel()" method. Here is the code..
    //Your code using the tabbedPane
    JTabbedPane tp = new JTabbedPane();
    tp.setUI(new LeftTabbedPaneUI());
    //File containing the overrided TabbedPaneUI
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.text.View;
    class LeftTabbedPaneUI extends javax.swing.plaf.metal.MetalTabbedPaneUI {
            //I also overrided this function just to force tabs wider than
            //the displayed "String Width". I asume that you found another
            //way to do this so you can delete this function in your
            //implementation
         protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics){
              return 150;
        protected void layoutLabel(int tabPlacement,
                                   FontMetrics metrics, int tabIndex,
                                   String title, Icon icon,
                                   Rectangle tabRect, Rectangle iconRect,
                                   Rectangle textRect, boolean isSelected ) {
            textRect.x = textRect.y = iconRect.x = iconRect.y = 0;
         View v = getTextViewForTab(tabIndex);
         if (v != null) {
             tabPane.putClientProperty("html", v);
         //This Line is added to avoid writing on tab border while aligned to left.
         //You can comment this line to test and or adjust the "5" pixel space
         Rectangle rec = new Rectangle(tabRect.x+5,tabRect.y,tabRect.width,tabRect.height);
            SwingUtilities.layoutCompoundLabel((JComponent) tabPane,
                                               metrics, title, icon,
                                               SwingUtilities.CENTER,
                                               SwingUtilities.LEFT,
                                               SwingUtilities.CENTER,
                                               SwingUtilities.TRAILING,
                                               rec,
                                               iconRect,
                                               textRect,
                                               textIconGap);
         tabPane.putClientProperty("html", null);
         int xNudge = getTabLabelShiftX(tabPlacement, tabIndex, isSelected);
         int yNudge = getTabLabelShiftY(tabPlacement, tabIndex, isSelected);
         iconRect.x += xNudge;
         iconRect.y += yNudge;
         textRect.x += xNudge;
         textRect.y += yNudge;
    }Here I overrided the "Metal" implementation of the tab but you must override the implementation of the used Look And Feel,
    ex. "com.sun.java.swing.plaf.window.WindowsTabbedPaneUI" for the windows LAF.

  • I went to the full screen and don't like it and need to know how to get back to what I had. Also, is there a good way to set up bookmarks? Like in a column on the left or right side? Thank you.

    I went to the full screen and don't like it and want to get back to what I had. Also, is there a way to set up bookmarks so that all show in a column on the left or right side?

    Just press F11 on your keyboard to exit full screen mode.

Maybe you are looking for

  • My photoshop CS4 is on mydesktop but does not open a photo.

    My Adobe Photoshop CS4 is open on my desktop but does not open any photos.  Can I re-download the application with my serial number?

  • Images are not loading

    I am having trouble with images loading on firefox. At first I tried to clear cookies and cache. When that didn't work I went to the content menu in the options to check on that. But then I saw that "enable images automatically" and "enable javascrip

  • Such a wonderful equipment, why limit it?

    The new ipad is here! Awsome upgrades and yet, if you are not within reach of wifi you can't use it the way it was meant to be used. Yes we have 2 options now. ATT and Verizon but both limit your use. NO UNLIMITED DATA  available and even if you are

  • Epson xp 202 will not print with wifi

    using os 10.7.3. Can ping printer ok but print box indicates printer off line. Prints ok with usb cable but not with wifi cheers

  • Performace of resb table

    Dear All,           I have one Performance issue  , my problem is the query given below       Takes much more time than Expected were i retreive data from resb table only by passing EBELN and WERKS  .I am using key fields also still my performance is