To fix width of column or to achieve wordwrap in my column

Hi friends,
I have used Consumercollection Renderer in my Layout set.
There are 4 columns called name, size, description and owner.
Now the problem is that as the description of some folder increases the column width increases which is not desired.
Is there any method by which we can achieve word wrap for column text so that the width does not extend.
Sweta.

Sorry its ConsumerTableCollectionRenderer instead of  ConsumerCollectionRenderer

Similar Messages

  • How to fix Width of column in classic report.

    Dear Friends
    i am using Apex 3.2.
    i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
    i have try some code in html expression
    <span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
    {code
    after apply abovemention code that display me in my summary like this and not manage width of column.
    style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
    How to fix Width of column in classic report.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
    For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
    1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
    2) Here is one way that works:
    - In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
    - In the columns you want to affect, place "&#60;div>#ENAME#</div&#62;" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
    I'm using the EMP table as an example.
    - Finally, in the page's HTML Header put, for example
    <style>
    #classic-report td.data[headers="ENAME"] div {
      width: 200px;
      color: blue;
    #classic-report td.data[headers="JOB"] div {
      width: 50px;
      white-space: nowrap;
      word-wrap: break-word;
    </style>This makes the ENAME column wider and the JOB column smaller and wraps it.
    Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
    #classic-report .report-standard th.header {
      border-left: #9fa0a0 1px solid;
      padding: 2px 3px 4px 5px;   /* top right bottom left margins */
      font-size: 11px;
      font-weight: bold;
      vertical-align: bottom;
    #classic-report .report-standard td.data {
      border-left: #9fa0a0 1px solid;
      padding: 3px 4px 5px 6px;
      font-size: 9px;
    }Does this help?
    Howard

  • Setting fixed width on columns with the Column Graph Tool

    Hi,
    I'm trying to perfect my charts a little.
    Right now the width of my columns using the Column Graph Tool seem to be dictated by how many columns I got in total. So if I only have two columns both get really wide. But if I have four, they look just nice. Is there any way to set a fixed width on columns with the Column Graph Tool?
    Thanks!

    What am I thinking.
    Select your graph double click the graph tool at the bottom of the dialog, enter the percentage you want the coulmns to be  and the percentage you want that cluster to occupy.
    Duh!

  • SYNTAX: Fixed width table columns

    How do I make the <bc4j:table ... > columns display a fixed width with no wrapping?
    Thanks for any info.

    Classification:
    I am using JDeveloper 903. Within my table tag, if my column has the readOnly attribute set to false and I set the columns attribute to 5, I see five columns.
    If I set the readOnly attribute to true and set the columns attribute to 5, the columns attribute is ignored.
    Is this a BUG or is this expected behavior?
    Thanks for any clairification

  • Does any one know how to fix width of column generic and also wrap data without space

    I make following  changes in Template > Column Template > Column Template 1
    <td #ALIGNMENT#; headers="#COLUMN_HEADER_NAME#" style="width:300px; white-space:-moz-pre-wrap !important;word-break: break-all;"> #COLUMN_VALUE# </td>
    data is wraping but width is not getting fix.
    so any one can tell me how to solve the problem.

    Hi,
    It is much easier help on layout issues when you create example to apex.oracle.com.
    Regards,
    Jari

  • How to create a fixed-width column within an APEX 4 interactive report?

    This thread is a follow-up to {message:id=9191195}. Thanks fac586.
    Partial success: The following code provided by fac586 limits the column width of the Apex 4 interactive report column as long as the column data contains whitespace within a Firefox 3.6 browser:
    <pre class="jive-pre">
    <style type="text/css">
    th#T_DESCRIPTION {
    width: 300px;
    td[headers="T_DESCRIPTION"] {
    width: 300px;
    word-wrap: break-word;
    </style>
    </pre>
    Notes:
    1. The code above is put into the HTML header section for the page.
    2. T_DESCRIPTION is defined as VARCHAR2(2000).
    3. The code above works within the Firefox 3.6.12 browser but does not work within the Internet Explorer 7.0.5730.13 browser.
    I tried adding "float: left;":
    <pre class="jive-pre">
    <style type="text/css">
    th#T_DESCRIPTION {
    width: 300px;
    td[headers="T_DESCRIPTION"] {
    width: 300px;
    word-wrap: break-word;
    <font color="red"> float: left;</font>
    </style>
    </pre>
    Notes:
    1. "float: left;" does not require whitespace and successfully splits the column between characters in lieu of whitespace.
    2. "float: left;" shrinks the cell height and allows the page background to show through... couldn't determine how to fix this.
    3. The code above works within the Firefox 3.6.12 browser but does not work within the Internet Explorer 7.0.5730.13 browser.
    I've done some more research, but I still haven't discovered how to create a fixed-width column within an APEX 4 interactive report that displays properly within an Internet Explorer 7 browser.
    Any ideas and help will be appreciated.

    Thanks for your help with this!
    <pre class="jive-pre">
    what theme are you using?
    </pre>
    A customized version of theme 15.
    <pre class="jive-pre">
    Floating a table cell makes no sense (to me anyway).
    </pre>
    You are correct. I was just trying a different approach ... trying to think out of the box.
    <pre class="jive-pre">
    Think you'll need to create an example on apex.oracle.com with sample data
    if there are any further problems.
    </pre>
    Great suggestion! The code your provided works in the Firefox 3.6.12 browser, but still doesn't work within my Internet Explorer 7.0.5730.13 browser.
    UPDATE:
    I have recreated the problem at apex.oracle.com, you can use the following information to check it out:
    URL: http://apex.oracle.com/pls/apex/f?p=43543:100::::::
    Workspace: IR_FIXED_WIDTH_COLS
    Username: GUEST
    Password: Thx4help
    Application: 43543 - CM_RANDY_SD
    Note: Table name is TEST_DATA
    The following code provided by fac586 works in both Firefox 3.6 and IE7 using default theme "21. Scarlet" at apex.oracle.com; however, it doesn't work when I use a copy of our customized theme "101. Light Blue":
    <pre class="jive-pre">
    <style type="text/css">
    .apexir_WORKSHEET_DATA {
    th#T_DESCRIPTION {
    width: 300px;
    max-width: 300px;
    td[headers="T_DESCRIPTION"] {
    max-width: 300px;
    word-wrap: break-word;
    </style>
    <!--[if lt IE 8]>
    <style type="text/css">
    /* IE is broken */
    th#T_DESCRIPTION,
    td[headers="T_DESCRIPTION"] {
    width: 300px;
    </style>
    <![endif]-->
    </pre>
    Any idea what in the theme could be causing the fixed width column to be ignored in IE 7?
    Edited by: CM Randy SD on Dec 7, 2010 11:22 AM

  • How to determine the fixed width I can use to generate html columns in java

    I have a jsp where I dynamically generate menus for a web page.
    Table's cells are generated with different width, making the menus look differently.
    When clicking on menus, cells changing sizes.
    What is the best way to implement that, so I have a fixed width for every column?
    Thank you

    That's what I do.
    The code determines the width of the column now.
    The only drawback is that I manually assign values to the width depending on the menu item length.
    Is there any way how to do it dynamically, by determining how many px width will be by having the menu item lenght?
    <TABLE cellspacing=0 cellpadding=0 border=0 width="100%">
                   <!--<TR>-->
                        <!--<td width="251"><img src="images/Menu1L.gif" width="8" height="25"></td>-->
                   <%
                        int gs = menu.getSelectedGroupNum();
                        MenuGroup menuGroup = menu.getMenuGroup(gs);
                        int is = menu.getSelectedItemNum();
                        int maxScr = 10; //10 screens buttons per line
                        int totScr = menuGroup.getSize(); //total number of screens for the selected menu
                        int rowsNum = 0;
                        rowsNum = (int)Math.ceil((double)totScr/maxScr);
                        System.out.println("Num of scr per line: " + maxScr +
                                                 " Num of scr/menu: " + totScr +
                                                 " Num of rows: " + rowsNum);
                   for(int     screenRow = 0; screenRow < rowsNum; screenRow ++){
                        //for (int item = 0; item < menuGroup.getSize(); item++)%>
                   <tr><td>
                        <table border="0" cellspacing="0" cellpadding="0" height="20">
                         <tr>
                           <td width="251"><img src="images/Menu1L.gif" width="8" height="25">
                        <%
                        for(int item = screenRow*maxScr; item < (screenRow + 1)*maxScr && item < totScr; item ++)
                             MenuItem menuItem = menuGroup.getMenuItem(item);
                             String title = menuItem.getDisplay();
                             String link = null;
                             String cssClass = null;
                             System.out.println(title + ":" + title.length());
                             if(!menu.isDisabled())
                                  link = "<A href=\"Menu.do?top=" + gs + "&side=" + item + "\">";
                             %>
                             <%
                             else{
                                  link = "";
                                  title = "<i>" + title + "</i>";
                             MenuItem subMenuItem = null;
                             boolean isSubMenu = menuItem.containsSubMenuItem();
                             String subText = null;
                             //determine the width of the column
                             int width = 0;
                             if(title.length() > 5 && title.length()<20)
                                  width = 158;
                             if(title.length() > 20)
                                  width = 193;
                             if(title.length() <=5)
                                  width = 60;
                             if (is == item){
                                  //link = "<A href=\"Menu.do?top=" + gs + "&side=" + item + "\">";
                                  cssClass = "ScreenItemSel A";
                             else
                                  cssClass = "ScreenItem";
                             %>
                             <TD align = "center" nowrap class = "<%= cssClass%>"  background ="images/Menu1F.gif" width="<%=width%>"> <%=link%><%=title%></TD>
                             <TD class="Screen" nowrap><img src="images/Menu1Sep.gif" height=25 width=16></TD>
                        <%                         
                        }%>
                                  <TD width="100%" valign=top align=right class="ScreenName" background="images/Menu1F.gif"><%--<%=mode%>--%></TD>
                                  <TD><IMG src="images/Menu1R.gif" width="8" height="25"></TD>
                             </td>
                        </tr>
                        </table>
                   </td>
                   </tr>
                   <%}
                   %>
                   <!--</TR>-->
    </TABLE>

  • Switching from delimited to fixed width and had to retype 115 column names

    Hi we run 2012 enterprise.  I just changed a delimited flat file over to fixed width and had to retype all 115 column names.  Is there a way to preserve at least some of what ssis already knows (eg col names) in the flat file connection when
    this kind of changeover is occuring?  

    Thx Mike.  I appreciate your help so dont take this the wrong way.  
    Lets be honest.  This kind of behavior and some of the others I've posted recently when it comes to switching in and amongst flat file formats (fixed,unicode,unnecessary data type conversion etc etc) in ssis cannot possibly be by "design". 
    You might think I'm arrogant but hear me out.  As a graduate from one of the better engineering schools in the US and having earned a BSCS from that school, my thinking is that even a first year college student would design this little part of
    ssis in a more flexible fashion.  And the sad part is that legacy mainframe technologies from way way back baked this kind of flexibility into their products without add ins.  SSIS is purportedly .net technology and as such should follow the
    most fundamental rules of OO which include flexibility and reusability. 
    We should be more careful about the term "by design".  I believe this is actually a limitation which I'm sure would have been dealt with had there been more time, money and experience invested.  One of my other posts cites a recommendation (from
    ssis) that displays along with one of these flat file errors and has something to do with dt_ntext.  But the recommendation actually doesnt work.  So are we going to say that a recommendation that doesnt work is also by design?  I dont think
    so.  By design infers "for valid reasons".   And I dont believe there are any valid reasons for this/these behaviors.   If there are , pls share.

  • How to display fixed width column in Advanced Table?

    Hi,
    This is probably a newbie question for OAF. My requirement is quite simple but I couldn't find the answer in either the OAF developer's guide or anywhere else so I turn to the experts here. I have a region of type Table or Advanced table with three items in them. One of the Item is of type comments which could be up to 4000 characters.
    I wanted to show all three on the first page but only have fixed width for the comments section like only show the first 50 characters for example and then if they want to see more detail they can click on a link to see full comments.
    The problem is I cannot figure out how to make the comments item fixed width. I have played with the table width properties but it keeps displaying the comments in multiple lines (I don't want that...). I have also tried putting the Table in a Row Layout but it doesn't seem to help.
    Since this is new development I can change my region style to anything to meet my requirements.
    I hope this is an easy question and if someone can help me that would be great....:-)

    Hi,
    Thanks but I was not wanting to change the VO attribute length size since I want to have a link on the first page which would enable to see a user the full 4000 comments using the same VO object. Then if I limit it to 50 characters in the VO, I will not be able to display the full comments on the second page.
    Isn't there some way in the UI that I can limit it? I know one workaround I can use for now is to have another column in the VO with the 50 character value such as substr(comments, 1, 50) and then have the full comments selected also in the VO and then show this subtr value in the first page and the comments value in the 2nd. I just thought there would be an easier way about it then doing all this workaround.
    Any ideas?
    Thanks

  • Truncated last blank column in fixed width tab delimited file

    Hi All,
               I've to generate fixed width tab delimited file in application server.As per my requiremnt  Last column in the file should be blank. When i have generated file last column is truncated because it is populated blank.
    Need solution to get the last column with blank data.
    Thanks
    Kiran

    Hi,
    The last column is not truncated I hope,bcoz it is space,u were not able to find it.
    Read the file into internal table and see in the debugging mode if it is present or not.

  • How to write to file using fixed width columns

    I need to write some data to a text file such that it is formatted in columns of fixed width. Each column can have different width. eg if i have to write 5 fields in each record the first field would be of 5 characters, second field of 3 characters and so on.
    Can u please suggest how I can do it. Its urgent.

    Can't you search? Now you know what to google on: java 5 printf
    Kaj

  • Fixed-width left-hand column in Muse

    I'm trying to create a web page that has a fixed-width left-hand column (say 300 px) and an adjustable content area to the right that changes according to the size of the browser window. Is this possible in Muse?

    In your "Site Properties" Layout panel you can set this up by adjusting the padding section.
    Turn off the Centre Horizontal button, add pixels to the Left input sector. (see image)

  • How can I fix the 1st column width (member) in Planning data forms

    Hi all,
    does anybody know a trick, how I can fix the first column width in planning data forms? I need a composite data form (Planning 9.3.1) and the problem is, that in the first form the member names are longer. So Planning sizes the column as it is needed to display the full member name. The member names of the second data form are shorter, so the data entry cells are not exactly among each other for both data forms and that looks terrible....
    Thanks and kind regards
    André

    There are 3 ways of setting the width in webforms:-
    1. There is a global setting for input box length which has a syntax of FormInputBoxLength=30.
    2. When you specify the format for each of the dimensions you can choose to select the width of either a column heading or a row heading. In the following example, each time you specified the dimension ‘Account’ a format would be applied to its header. The syntax for this would be something like… HeaderOptionAccount=Length:50,Style:font-size: 12pt;font-family: calibri
    3. Each column can have its own width specified. The syntax for this can be setting in each of the column’s code. For example C6=Blank,Style:Background-color:rgb(203,218,231);width:3 would just show a thick vertical line as the width is so small.
    You can not set widths in data grids through the normal settings. You can manually change the widths and save the grid though. This can be done in the xml directly. For example… <HDRWIDTH idx=”0″ width=”50″/>.
    Then load the amended xml file back into the system.

  • Is there a way to change fixed width Flat file connection manager to delimited without losing all the column names ?

    Is there a way to change fixed width Flat file connection manager to delimited without losing all the column names ?

    Unfortunately not as it is a quite dramatic change causing the metadata being refreshed. I would try to open though the package file in a text editor and find them before doing the change, then after you made the change to the FF connector try to reconstitute
    / replace the autimatically generated columns with the old names.
    Arthur
    MyBlog
    Twitter

  • How can I convert my web page from a fixed width layout to a fluid grid layout?

    I'm taking a web design class (I'm using Dreamweaver CS6, btw)  wherein the professor started us out building our websites in a fixed width layout but now I want to change my site into a fluid grid layout. My "site" so far is just one long page, and I've already designed it with fluid grid adjustments in mind (most things are centered  in the layout) so it shouldn't need excessive tweaking.
    Is there a way to duplicate the site folder that holds my first page, re-open a new document in fluid, then copy the code in and tweak the width parameters for the different layouts?
    Did I just answer my own question? Help - I am new at this!!
    Thanks all,
    KC

    Herbert2001 wrote:
    A bit off-topic, but Osgood: have you ever used SASS or LESS? When you are building your own grid systems it can save you a tremendous amount of time, and it's a lot of fun.
    Take the following simple example - it generates all the 23 css classes automatically for a 12 grid system. And simply changing one variable allows you to create and calculate any number of columns!
    //variables
    $desktop: 1025px;
    $large-columns: 12;
    @media only screen and (min-width: $desktop) {
         //regular grid span classes
        @for $i from 1 through $large-columns {
            .span-large-#{$i} {
                width: percentage($i/$large-columns);
         // push classes
        @for $i from 1 through (($large-columns)-1) {
            .push-large-#{$i} {
                margin-left: percentage($i/$large-columns);
    No, not explored it yet, and may never....I don't know. I don't really make much money out of web design. It's becoming more and more difficult to find the desire to learn new techniques when the opportunities aren't really there to put them into practice on as regular basis as I would like.  I've got  a very good handle on css, php, html, jQuery - I'm not sure I want to add another layer at the moment, given I'm never quite sure how long I will continue to 'bang my head against the wall' . I'm getting to the stage where I keep asking myself do I really need the problems associated with learning new stuff to the point of being comfortable with it if the financial rewards at the end don't equate to the efforts of learning it.
    I don't really enjoy web development if truth is known. I come from a Graphic Design background which I much prefer but somehow got side tracked and pushed in this direction and there's no way back now, lol. Whilst I concede Web Development is much more exciting its also 100 times more complex/difficult and the skills needed are considerably more.
    Your example looks interesting and I should think I could pick it up reasonably easily given I work with php which uses variables on a similar basis.

Maybe you are looking for