FTS results - column widths

Does anyone know if it's possible to specify the width of the Title and Rank columns which display the FTS results? At the moment they look like they're 50/50. I'd like to make the Title column as wide as possible and squeeze the Rank column up. Also, can I change the symbol used to sort the columns to an image?
I've had a nosey in whfhost.js, but no joy.
Thanks
Jonathan

Just to summarize what is mentioned in the specified thread and answer the second query of inserting an image for sorting...
For reducing Rank column width
1. Search for the function writeTableHead in the file whfhost.js
2. Look for TD ID='OdinFtsRank'. Out of the two occurrences, update the width value of the second one as required.
For example <TD ID='OdinFtsRank' CLASS='fr_tt' STYLE='cursor:pointer; width:15%;'>
This should reduce the column widht value.
For using an image for sorting columns
1. Look for definitions of gsAscendFlag and gsDescendFlag on Line No 29 and 30 as ascending and descending sorting respectively.
2. Replace their values with img tag with necessary attributes. For exmaple: Something like this
gsAscendFlag  = "<img src=\"down_arrow.gif\" />"
Please specify the image path accordingly and do enlose the path with \" --- \" as shown in the example.
I hope this resolves the issue.
Mayank

Similar Messages

  • Is it possible to resize page column widths at runtime (by the user)?

    hi all,
    i have cretaed a page using the 2-columns narrow/wide layout.  this layout is perfect for what i want to do.
    however, the users have complained that they would like to be able to resize the columns, just like they are able to do with the Detailed Navigation column (using the small "<" and ">" arrows).
    is it posssible to add this functionality to my custom pages so that can also resize the columns?
    i searched for options in the properties, but didn't find anything.
    thanks,
    mm

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.

    The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.
    All was normal until the icon for the disk stopped showing up on the desktop when I would plug it in. I rebooted the computer, and the disk icon now shows up but this new look to the finder window started as a result. The hard disk does not have this problem when I use it on another Mac running Snow leopard. Also, two other external hard disks that I use on this computer running lion 7.4 still have the normal header bars with columns that can be reordered, etc.
    I have tried looking in preferences and other places but have not seen this discussed. 

    Well duh - I finally figured out that somehow in the View options for the hard drive, the "arrange by" option had been changed to "by date" from "none". Not sure how that happened, I had never used the "view options" menu tem before. Changing "arrange by" back to "none" gets the gray column headers and the collapsible folder icons back. 

  • Is it possible to set default column widths in list view when using a finder window in Mavericks?

    The default 'document' column is way too wide and forces you eye to track all the way across the screen to read info like "date modified', 'kind' or 'size'.
    Tried several times to create a narrower default 'document name' column with no results. Couldn't find anything in preferences or view options. Tried dragging column headers while holding the down the option key with no results. 
    Every time I open a new finder window, all columns except the 'document' column affixed to the right side of the window. Also, when you grab the bottom right corner of a window to resize smaller, the lists become re-affixed to the right side of the window when opening the window back up.
    Experiencing the same problem in Mavericks 10.9.3 on an iMac and Macbook Pro Retina.
    Thanks if you've made it this far:)

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • How to fix BW Query column width globally before query execution?

    Dear Experts,
    Regarding the BW Query run in Business Explorer, the width of the first column A of the result displayed in Excel is usually based on the width of the query title.
    I know that we can adjust the column width in Excel: right click on the column and change the properties as "Do not adjust column width" on refresh. But how can I change and fix this width globally (regardless of the actual length of the cells) inside the analyzer during query design, and before the result coming out in Excel? I want the change is on the "Change query (global definition)", and not inside the Excel.
    Thanks & regards,
    James
    Edited by: OSS support CCS on Feb 9, 2011 10:15 AM

    Hi,
    The column width is determined by the Analyser at the runtime  and is taken by the settings done at Infoobject level in "Business Explorer tab". Like short text will have X width column.
    If you need to have fixed column with different from what is proposed by the system u need to save ur query as Woorkbook.
    or if u are displaying them in WEB ANALYSER then u can have report designer to control the formatting.
    Regards
    Ravish

  • Flex 3: DataGrid Column width on resize

    Hello experts,
    I am facing an issue with width of DataGrid columns. We are using Flex 3.2.
    I am setting the widths for columns in creationComplete handler of DataGrid. When the browser window is resized, say restore down and then maximize,
    the column widths are changing. Please find the code below:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="100%" width="100%">
    <mx:Script>
        <![CDATA[
            import mx.core.ScrollPolicy;
            [Bindable]
            private var isVisible:Boolean = true;
            private function creationCompleteHandler():void{
                dataGrid.horizontalScrollPolicy = ScrollPolicy.ON;
                artist.width = dataGrid.width * 0.40;
                album.width = dataGrid.width * 0.50;
                Price.width = dataGrid.width * 0.10;
                dataGrid.horizontalScrollPolicy = ScrollPolicy.OFF;
        ]]>
    </mx:Script>
    <mx:DataGrid id="dataGrid" width="80%" height="100%" creationComplete="creationCompleteHandler()">
          <mx:ArrayCollection>
             <mx:Object Artist="Pavement" Price="11.99"
                Album="Slanted and Enchanted" />
             <mx:Object Artist="Pavement"
                Album="Brighten the Corners" Price="11.99" />
          </mx:ArrayCollection>
          <mx:columns>
              <mx:DataGridColumn id="artist" dataField="Artist"/>
             <mx:DataGridColumn id="album" dataField="Album" visible="{isVisible}"/>
             <mx:DataGridColumn id="Price" dataField="Price" />
          </mx:columns>
       </mx:DataGrid>
    </mx:Application>
    Is there anything wrong i am doing here? Please help me in resolving this.
    Thanks,
    Srilatha

    Hi Srilatha,
    DataGrid width is 100% and the main application width also 100%, So the
    DataGrid will try to occupy the whole window, when you do "restore down" &
    "maximize" Application width will change.. and it will effect DataGrid and
    its columns also. Try to give some fixed width for dataGrid and you can
    expect the result.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    height="100%" width="100%">
        <mx:Script>
            <![CDATA[
                import mx.core.ScrollPolicy;
                private var isVisible:Boolean = true;
                private function creationCompleteHandler():void
                    dataGrid.horizontalScrollPolicy = ScrollPolicy.ON;
                    artist.width = dataGrid.width * 0.40;
                    album.width = dataGrid.width * 0.50;
                    Price.width = dataGrid.width * 0.10;
                    dataGrid.horizontalScrollPolicy = ScrollPolicy.OFF;
            ]]>
        </mx:Script>
        <mx:DataGrid id="dataGrid" width="500" height="100%"
    creationComplete="creationCompleteHandler()">
            <mx:ArrayCollection>
                <mx:Object Artist="Pavement" Price="11.99"
                           Album="Slanted and Enchanted" />
                <mx:Object Artist="Pavement"
                           Album="Brighten the Corners" Price="11.99" />
            </mx:ArrayCollection>
            <mx:columns>
                <mx:DataGridColumn id="artist" dataField="Artist"/>
                <mx:DataGridColumn id="album" dataField="Album"
    visible=""/>
                <mx:DataGridColumn id="Price" dataField="Price" />
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>
    Thanks
    Pradeep Reddy

  • Column width in output table cannot be changed

    Hi All,
    I have a visual composer model with an input form used to display variables to call a BW query. The query result is displayed in an output table.
    Multiple fields are displayed in the output table.
    On the layout tab of the visual composer model, I have changed the column width of the different output fields.
    After initial execution, the column widths of the different columns correspond to the settings in the layout tab. When I submit the query, example after entering the selection variables in the input screen and pressing submit, all columns widths change to 1 width. All columns now have the same width.
    We installed the latest VC version and hotpackages but this does not help.
    How can I change the column width of an output table?
    Best Regards,
    Filip

    Hi All,
    this column problem I know really good and there is a solution:
    Click on the Output-Port of your Query and then click on Configure. You will see on the right side the property "Dynamic Port". Uncheck that and you will see that the column width is like in the layout tab.
    This is only in Queries. In Function Modules you dont have to do this.
    Best Regards,
    Murat Yurtoglu

  • How to increase size of individual column width in the filter screen of WAD

    Hello all ,
    Have a web application built in WAD. I have ran it  in portal and want to put the filter on material.When the filter screen displayed , I selected the filter value on material and added it to selections.  I am not able to see the full description of the material due to the width of the column is less which is hided to drag. Do we have any option to increase the individual column width in filter screen?
    Request you to respond .
    Regards,
    Lakshmi.

    Hi Vijay,
    Iam doing fine .Thank you.
    We tried different options in WAD . still it is not working . once the filter screen displayed in your report result (Portal) ,it will show you two tabs screen , will select and transfer the selections from left had side to right hand side.iam able to drag the left tab but not the right one due to iam not able to see the full description of info object.By dragging we can increase the full screen size but not the individual tab size.
    Regards,
    Lakshmi.

  • JTable column widths - help

    Hi,
    I have a JTable and I am having problems with the column widths. Currently, I place my JTable in a JScrollPane, and that's it. What I want is this:
    1. When the table is initially displayed, I want all the columns to be of equal width and use the entire width of the table (so no empty space at the end of the table)
    2. When I resize a column I want the other columns to maintain their size, and just have the scroll bars appear.
    3. When I resize the frame/browser that my app is running in, I want the scroll bars to appear.
    I tried the different autoResizeModes but I cant get the entire result which I need..any suggestions? Below is a code example...
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class Test1 extends JPanel {
         JScrollPane scroller;
         JTable table;
         String[][] rowData = new String[][] {
                   {"John", "18"},
                   {"Bill", "20"},
                   {"Alex", "17"}
         String[] columns = new String[] {
              "Name", "Age"     
         public Test1() {
              table = new JTable(rowData, columns);
              scroller = new JScrollPane(table);
              setLayout(new BorderLayout());
              add(scroller, BorderLayout.CENTER);
         public static void main(String[] args) {
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Test1 t = new Test1();
              f.getContentPane().add(t);
              f.setSize(600, 600);
              f.setVisible(true);
    }

    Forget about my last post. The following code works but I guess you'll have to work on it to make it more elegant.import java.awt.BorderLayout;
    import javax.swing.*;
    public class Test1 extends JPanel {
         String[][] rowData = new String[][]{{"John", "18"}, {"Bill", "20"}, {"Alex", "17"}};
         String[] columns = new String[]{"Name", "Age"};
         JTable table;
         JScrollPane scrollPane;
         public Test1() {
              super(new BorderLayout());
              table = new JTable(rowData, columns);
              table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
              scrollPane = new JScrollPane(table);
              add(scrollPane, BorderLayout.CENTER);
         public void pack() {
              System.out.println("pack");
              int columnCount = table.getColumnCount();
              if (columnCount == 0) {
                   System.out.println("columnCount = 0");
                   return;
              int width = scrollPane.getViewport().getSize().width;
              System.out.println("width = " + width);
              if (width == 0) return;
              int columnWidth = width / columnCount;
              System.out.println("columnWidth = " + columnWidth);
              for (int i = 0; i < columnCount; i++) {
                   table.getColumnModel().getColumn(i).setPreferredWidth(columnWidth);
              table.revalidate();
              table.repaint();
         public static void main(String[] args) {
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final Test1 t = new Test1();
              f.setContentPane(t);
              f.setSize(600, 600);
              f.setVisible(true);
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        t.pack();
    }

  • What is the best column width & font size for an ipad magazine

    I'm creating a magazine that will be shown on the ipad I was wondering what is the best column width and font size to use. If someone has any suggestions I'd love the help.
    thanks,

    You should know how you publish it and what the technical limitations of each type are.
    No one can or will give you any advise to use this or that font. Make several drafts, try it, pass on several drafts to testers and get response.
    If you work with styles, it is then easy for you to change it to the best result with a few clicks.
    Normally a column width with 37 to 45 letters I would personally suggest to be the best width, but opinions are very different on it. The more letters in a line the less readability is given, the less letters the more difficulty you will have to get an even grey factor. (I mean that through space between words some lines become bright others dark, which does not look so fine, I don't know the English technical term for that.)

  • Problems using "Edit Column Widths" feature in List View component

    Hello. I'm using a list view component (Xcelsius 4.5 Professional) to display a simple table of text from Excel. I want to adjust the width of the component colums so that all of them fit on the screen at the same time- regardless of how wide they are in the excel columns. The problem is the columns in excel are of variable length; I have no way to predict how wide they will be. The list view component always defaults to the widest column(s) so it ends up pushing some of the columns to the right and  I then have to use the scroll bar to see them. I thought the "edit column widths" would allow me to force the column widths in the component (potentially truncating some of the columns), but it does not work that way.
    How is the "edit column width" feature supposed to work? What does one enter in the value for each label? Are the units in pixels? When I start entering values I get all kinds of strange behavior...

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • Column Widths of existing Report

    Hi, I'm wondering how you can modify the width of a particular column in a report. One of the columns has a lot of information, and I want this column to take up about half the page. I look in the Application Builder to see the properties of that column, but don't see anywhere to set the width.
    Also is there a way to get a record to display over 2 rows, so that it doesn't scroll off the screen?
    Thanks in advance, Sarah

    as i explained briefly in How to change column width and other attributes , report templates are the best way to control the look/feel of our outputted result sets. more specifically, that's probably the best place to specify attributes such as wrapping and column widths. when doing this type of html formatting, though, you also need to be aware of the rest of the html that's on your page. so if a column in your report is set to be 500px wide but the region template for your report region stores its content in a table with a fixed width of 200px, i'm pretty sure the second setting overrides the first. i'd approach it this way: set up your report template to do what you want (wrap some rows and maybe fix some column widths). then see if your page renders correctly. if it doesn't do what you want, check the region template to see if that's interfering. if that's not it, then check the page template. there's a pretty good chance that just changing your report template will do the trick, but it helps to be aware of the html around it.
    hope this helps,
    raj

  • Htmlb tableview column width

    Hello
    I need to set the column width of tableview Columns. I have width information in number of char. Basically i know the Column data type length and column title length. and i have to set the width equal to maximum of above two.
    But in tableview Column, we can only set the width in pixel. And this option give different result on desktop computer and laptop.
    Please let me know if anyone faced this problem before. It is very urgent for me.
    Regards
    Saurabh Garg

    Hi Saurabh,
    Lets say you have 10 coulumns.....then keep the width of tableView as 100%...
    using 160% will make it bigger than the screen....and then set eaxch coulumn width as 10%.
    Also if you are using iterator or tableViewControltab ColoumnDefinitions, then use the wrapping property...This will wrap the text in multiple lines...provided there is a space in between....
    This should work...
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • Interactive Report - download to PDF, fixed column widths-- why

    We are using 4.1.1.00.23, we have just installed the Apache/FOP solution to download our Interactive Reports to PDF.
    The issue is that it seems that no matter what we do the column widths become evenly distributed in the downloaded report. When the report only has 5-8 columns this is ok, doesn't look as good as we would like but it is ok. The problem comes when we have many columns, then all of the columns get shrunk down to these little columns that become totally useless.
    Also, it appears that no matter what page size I define in the Page Attributes it sizes the columns to fit on an standard page (8.5x11).
    The question I guess is: Is there a way to download an Interactive Report to PDF, that looks exactly like the report that is displayed for the Interactive Report?
    We have been looking at lots of the documentation and fear we are missing something because it appears that most solutions talk about creating a "Shared Component" Report Query and Report Layout, which when you have a hundred interactive reports seems crazy....why can't we just download what we see on the screen.
    If there was a way to put Headers/Footers on HTML download, then we would not need to do this, but I have not found a way to do that either.

    From our understanding, it looks like we would have to create another report for each of our existing Interactive Reports, which would be a JasperReport or something.
    We know there is something with the XSL-FO templates, is that what iReports can do for us? Really this is a new world for me, so I do fear that I might be asking my question wrong.
    Like I said maybe we are missing something. We were able to get the FOP to work, but the problem with that is all of the columns are evenly distributed widths. On some reports, which have many columns, there could be a name column that needs to display 50 characters, but then the next field only has 5 characters. It appears that without creating an additional report or report layout for each report we cannot print the results of the interactive report.
    Maybe I am completely missing something in all of this, but I find it hard to believe that we have to create multiple versions of a report just to be able to print it. If we had just wanted to create a static report, then I would have continued using Oracle Reports, like we have for the last 20yrs.

  • Fix the Column Width in WAD 7.0

    Hi Guys,
                 I have two Queries in a Web Template and when I execute the Web Template in Web, both the Query results are are populated one below the other. The column width for both the Query output from a Web Template when executed in Web needs to be the same.
    Any ideas and suggestions will be really appreciated. Thanks again Guys.
    Thanks,
    Harsha.

    The width attribute of af:column element specifies column width.
    The setWidth(java.lang.String width) method of oracle.adf.view.faces.component.core.data.CoreColumn
    also specifies column width.

Maybe you are looking for

  • Problem with display of Buttons in ADF

    Hi All, I had a strange problem in display of the ADF Page in one of the server.I had two buttons inside ToolBars, The UI was coming fine in the two WLS, But when I deployed the application in third WLS, I was seeing that Buttons are coming in the to

  • Java Mapping to Digital Signature (web service scenarios)

    Hi All, I'm working with Web Service Scenarios and I have a problem. The Web Service has a Schema for validation data and I send data to method of WS, example: Web Service Description <SendData xmlns="http://www.sdn.com/schema.xsd">    <InputXML>stri

  • TS3274 Why can't I sync my ipad?

    I press the "sync" button. And get a message saying " Could not be synced because the sync session failed to start".... What does this mean?

  • Dynamic image in Adobe Form

    Hello experts, I have created a form with the transaction sfp and want to bind in an image. This image has to be dynamic, so that it can be changed, if necessary. Is it possible to have an image in a structure and this structure in the interface of t

  • Headings in application server

    Hi all,    I am downloading a file into application server.Its working fine and my output is as follows: Directory:  /usr/sap/interfaces/D48/outbound/nacc/data Name:       costctr.txt 000002032801010007390000002293640739 00000203420101000995000000256