Height of table rows

Hello,
i have some trouble with the Portal Theme Editor:
In my WAD Template there are two queries: one for planning and one "normal" query. This WAD template is integrated in SAP Portal. For layout reasons i have done some settings with Theme Editor. But the rows of these tables have different highs. The rows of the planning table is higher when accepting input. When the planning table is locked by another user, the height is the same like the other query. The two queries should have the same layout.
Does anyone knows how i can influence the height of the planning query when it is accepting input?
Thanks best regards Daniel
Message was edited by:
        Daniel Rufenach

I'm not sure if this works as the row high is mostly ignored by 11g.
Have you tested if this works like you want when you set the row high to the value by hand?
If this works you can use EL and point to the storage position of the inputText where you enter the number of rows to see.
        <af:inputText id="it1" value="#{bindings.RegionId.inputValue}" autoSubmit="true"... />
        <af:table ...  autoHeightRows="#{bindings.RegionId.inputValue}" partialTrigger="it1">Timo
Edited by: Timo Hahn on 26.04.2013 16:42

Similar Messages

  • Row height in tables

    Hello,
    I want to set the height of tables rows but I couldn't find the function or the right way to do it.
    The table is in Column mode.
    The row size mode is set to Use Explicit Size
    First I remove all rows and columns and then the following code:
    InsertTableColumns (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbX_Points, VAL_USE_MASTER_CELL_TYPE);   
    ColWidth = PlotAreaWidth / NbX_Points;  
    SetTableColumnAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, -1, ATTR_COLUMN_WIDTH, ColWidth);  
    InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbY_Points, VAL_USE_MASTER_CELL_TYPE);
    What should I add for setting also the row heights?
    Thank you
    Solved!
    Go to Solution.

    I finally found the solution.
    I did a mistake, by setting Size Mode to Use Explicit Size in the first row in the uir I thought it was the default value for all rows.
    I think the documentation is not completely correct because it says that SetTableRowAttribute has no effect on existing cells but for the row height it has. That's the reason why I was looking to find a solution with SetTableCellRangeAttribute () as recommended.
    I also tried with SetTableRowAttribute but because Size Mode was not correct it didn't work.
    With this code it works:
    for (i=1; i<=NbY_Points; i++)  
    InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, 1, VAL_USE_MASTER_CELL_TYPE);  
    SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, ATTR_SIZE_MODE, VAL_USE_EXPLICIT_SIZE);  
    SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, i, ATTR_ROW_HEIGHT, RowHeight);  

  • Report Generation Toolkit Table Row Height-MS Word

    I am having trouble setting the table row height in the report generation toolkit. I can set the column width fine, but the row height seems to remain the same no matter what I set it to. I have attached the VI that generates and formats the table, and the printout it is resulting in. I have also attached the template file I am using.
    Any tips to get this to work right? I am trying to make the cells exactly the same height as the text inside. 
    Solved!
    Go to Solution.
    Attachments:
    AddMarkersToReport.vi ‏20 KB
    badFormatting.pdf ‏179 KB
    splitter.docx ‏13 KB

    Hi,
    So I tried .2  and it didn't work.  So I went to Word to manually change it, and it did not work either.  There is a selection box in word, for the table properties, that seems to default to the value "at least".  When I changed this manually to "exactly" in word, no problem with the .2 manually in Word.
    Hopefully this can be set within the template, for all new inserted tables.  I'm not sure the report generator VI's expose this property.  Well, this is a start for the issue.
    Edit ****
    You can go into the add table VI and expose the property.  See pic.   However, you have to decide if you want to "upgrade" this VI permanently to expose this property or make a copy with the property exposed.   I haven't messed with the new class reports too much, so not sure of the ins and outs with this.
    I think this is the issue with the row size becoming smaller.
    Mark Ramsdale

  • Dynamically adjust table row height based on data in column

    Hi all,
    I'm using JDeveloper 11.1.1.5.0 and have a requirement for a table to adjust the height of its rows depending on the data in the columns. One of the columns in the table is a rich text description field and I have the 'rows' property set to 13. This field could have twenty lines of text/images or just one. The users would like the page to show all twenty lines of text without having to scroll but the table has the same height for all the rows (that I set to 13) and provides a scroll bar when the data exceeds this size. My users do not like to scroll, and want the height of each row to be determined by the data in it. I looked at a few options and also did a search online, but was unable to find anything to fulfill this requirement. Do you know of how I could change the height of each row in the table so that it fits the data that it holds?
    I have an example of my table at: <b>Table with Set Row Height</b>
    As you see, the picture has to be scrolled so that the whole picture is visible. The user requirement is to adjust the row height to show the full picture. Ideally the next two rows would shrink, but that would be a nice to have.
    Thanks in advance for any pointers or help.

    Hi Frank,
    Thank you for replying to my question, I truly appreciate your help.
    I tried to use the autoHeightRows to adjust the height of my rows but was unsuccessful. If I understand the autoHeightRows property correctly, this is used for setting the height of the whole table. If this is incorrect and it can be used for setting the height of individual rows in the table, please correct me. I have the 'Rows' property of the richTextEditor set to 13 and this is the height that I would like to make dynamic based on the data.
    My users requirement is for the height to be big enough for the data in each row of the table (the table has a description column and the height of each row should be determined by the data contained in it). I updated my <u><b>Screen Shot</b></u> to show the desired layout and what is currently being generated though ADF (http://www.flickr.com/photos/87583386@N05/) .
    I have three rows in the example (in actuality these are around 50) and the text in each row can vary. The users would like to see the full text/image in each row without having to scroll each row. Currently my table is within Panel Box, which is inside a PanelGroupLayout-Scroll which is in a PanelStretchLayout. I tried to put the table by itself with the autoHeightRow modifications you suggested but thsi did not help either. I am using JDeveloper 11.1.1.6.
    Is this possible with an ADF Table? If it is, is the autoHeight property the only one that I am setting incorrectly? If not, is there another component I can use to get the desired functionality? My users are very strict about this requirement and will not accept the application without this.
    Thanks,

  • Why can't i change row and column height in tables?

    a mind-boggling problem to be sure. For some odd reason, I can't use the inspector to type in row/column heights for tables. I can use the up/down arrows, but those only work in increments of 1. I can manually adjust them one by one but as soon as I edit text in a different table cell, I have to start all over again. Does anyone else have this problem?

    Hi Gerry & Ric
    I had already tried both of your suggestions without any luck but I appreciate the help anyway. I should've been a bit more specific: I can actually type in the column/row height windows, but when I press return or tab, Pages ignores the numbers. I've tried using both the number pad and the regular keyboard numbers and every manner of clicking, enter, tab, control, alt......there must be some setting with my computer that is causing an incompatibility with Pages. Boh!
    Susie

  • How to increase row height in table control?

    Hi experts,
    We have a push button in table control created using screen painter. Since this is a touch screen transaction, the default height is very small for the worker in the plant to click on a specific row, i would like to know if there is any way to increase the row height in the table control. There is no attribute in Screen painter for increasing row height in table control. I did try "import dynpro", hoping to increase the row height and export the dynpro, but that doesn't seem to have row height attributes. Any help in this regard is highly appreciated. Thanks,
    Raj

    Using a new technology means you have to recreate your screen: you may create an HTML using CL_DD_* classes (that's called "Dynamic Documents"). See [SAP Library - DD programming guide|http://help.sap.com/saphelp_nw2004s/helpdata/en/13/12284b019511d4a73e0000e83dd863/frameset.htm]. Demos are provided in SDYNAMICDOCUMENTS package. Or I think you may create web dynpro and define a CSS style to enlarge objects.
    If you don't want to create everything, maybe you can find out a workaround with GuiXT, for example creating a big button in each row (for example, with BUTTONSIZE, but don't know if it changes the height of rows but that's worth trying).
    Well, [Synactive documentation about table controls|http://www.synactive.com/docu_e/specials/tables.html] does not seem to allow that.
    Maybe you can move your question to the "scripting" forum and ask about how to do it with GuiXT...

  • Resize table row height dynamically

    Hi All,
      I have a requirement to display four item texts in one of the table column. I had created a subform with four texts in that column. I am getting the data as required, but by default the table row size has increased because of four texts in the column. At times, i have only data in two texts, still getting the default size of the row(0.41in height), how can i adust the height based on the data. How can i adust the row of the table dynamically.  
    Thanks,
    Kumar

    Hi Kumar,
    I did similar to this, where as my table is entirly designed in subforms, so there is no auto setting of the columns of a row.
    I had the below code, which finds the maximum height of a coulmn element and sets its height to all of the coulms of a row instance.
    I call this function on layout ready event of the row, as below
    ItemGenerator.setHeight(this);
      function setHeight(rowData){
         if(rowData.presence == "visible"){
    //             xfa.host.messageBox("height set start in layout ready");
               var yearH = parseFloat(xfa.layout.h(rowData.FinYear,"in")).toFixed(3);
    //           xfa.host.messageBox("1");
               var ipaH = parseFloat(xfa.layout.h(rowData.IPAType,"in")).toFixed(3);
    //           xfa.host.messageBox("2");
               var expenseH = parseFloat(xfa.layout.h(rowData.ExpenseType,"in")).toFixed(3);
    //           xfa.host.messageBox("3");
               var descH = parseFloat(xfa.layout.h(rowData.Description,"in")).toFixed(3);
    //           xfa.host.messageBox("4");
               var payH = parseFloat(xfa.layout.h(rowData.PayType,"in")).toFixed(3);
    //           xfa.host.messageBox("5");
               var payconH = parseFloat(xfa.layout.h(rowData.PayConditions,"in")).toFixed(3);
    //           xfa.host.messageBox("6");
               var acqconH = parseFloat(xfa.layout.h(rowData.AcqittalCond,"in")).toFixed(3);
    //           xfa.host.messageBox("7");
               var maxHeight = Math.max(yearH,ipaH,expenseH,descH,payH,payconH,acqconH)+"in";
               var marginBottom = parseFloat(Math.max(yearH,ipaH,expenseH,descH,payH,payconH,acqconH)- 0.2).toFixed(3)+"in";
    //           xfa.host.messageBox("max height = "+maxHeight);
    //           xfa.host.messageBox("bot margin  = "+marginBottom );
               rowData.h = maxHeight;
               rowData.IPA.h = maxHeight;
               rowData.IPA.margin.bottomInset = marginBottom ;
    //           xfa.host.messageBox("8");
               rowData.FinYear.h = maxHeight;
    //           xfa.host.messageBox("9");
               rowData.IPAType.h = maxHeight;
    //           xfa.host.messageBox("10");
               rowData.ExpenseType.h = maxHeight;
    //           xfa.host.messageBox("11");
               rowData.Description.h = maxHeight;
               rowData.ReqAmt.h = maxHeight;
    //           xfa.host.messageBox("11");
               rowData.RecAmt.h = maxHeight;
    //           xfa.host.messageBox("12");
               rowData.PayType.h = maxHeight;
    //           xfa.host.messageBox("13");
               rowData.PayConditions.h = maxHeight;
    //           xfa.host.messageBox("14");
               rowData.AcqittalCond.h = maxHeight;     
    //           xfa.host.messageBox("15");
               rowData.Remove.h = maxHeight;
               rowData.Remove.margin.bottomInset = marginBottom ;
    //           xfa.host.messageBox("finally");
    Hope something of this sort might helpful to you.
    Cheers,
    Sai

  • CSS issue when changing the table row height to 16px

    Hello,
    After changing the table row height through css like this:
    .table-row-cell, .table-cell {
    -fx-cell-size: 16;
    the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set.
    For example the following css style (a red 3px bottom border):
    .table-cell {
    -fx-border-width: 0 0 3 0;
    -fx-border-color: red;
    doesn't work anymore with the new row height whereas it works with the 24px standard row height.
    While investigating with Scenic View, I noticed that changing the row height changes the TableRow layoutBounds height (from 24px to 16px so that's ok) but not the boundsInParent height which remains to 27px. I think it should become 19px (16 + 1.5 + 1.5). I don't know if it's a bug.
    Anyway, any help making the css red border working for a 16px row height would be greatly appreciated.
    Regards,
    Bruno.

    Q: Would this help to just use absolute div tags and give me 'ABSOLUTELY ABSOLUTE' positioning?
    No.  APDivs are not a good primary layout method.  Use default CSS positioning (which is no positioning at all).  Align page elements with margins, floats and padding.
    See example -- 2-Column CSS Layout with Grids
    (View Page Source in your browser to see the code)
    http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Fixing the row height in table

    Hi All,
    In my table column i am displaying address.  Address field is of type STRING_TABLE. (This is needed to display address in the format shown in the example below) As a result of this the row height changes depending on the length of the address.
    Hence all the rows in the table are of different heights.
    For Example i am displaying the output as shown below.
    39 Car Street,
    abcdefg,
    pincode
    india,
    ph no.
    Now is it possible set the height of the row so that all the rows in the table are of fixed height?
    Please help.
    Thanks in advance.

    closed

  • Changing height of a row in a table control

    Hi all,
    I have developed a webdynpro application in which i am using a table control in the view. Can anyone tell me how can i change the height of a row in the table control?
    thanx in advance
    anuradha

    hi anuradha,
    you can set the number of the rows to be displayed, in the table controller properties, so that those many rows will be disaplayed at a time.
    to do this.
    Go to table controller properties,
    mention the integer( number of rows to be displayed ) value in the <b>visiblerowcount</b> property.
    if your requirement is not this then let me know.
    bye.
    Brahmanandam.

  • Table row height larger in firefox

    My table rows 1,3 &5 have a height that is 2x bigger FF
    than it should be. IE7 is perferct. Also, the font is the same size
    in both browsers. Any suggestions are greatly appreciated.
    http://www.wholesalebingosupplies.com/bingo-game-kits.html
    main div code:

    Thank Tim.
    I added
    p {margin: 2px;}
    to my CSS and that fixed the larger top rows to my tables but
    that did not change the margin to my very bottom row and my footer
    <div> which is too close.
    http://www.wholesalebingosupplies.com/family-gatherings.html
    Any suggestions?
    I am reviewing the site that you requested to fix my
    different users text size. Thanks for that insight.
    John
    quote:
    Originally posted by:
    Newsgroup User
    Hello,
    Different browsers use different default margins for certain
    tags if you
    don't define a margin using CSS.
    One of these tags is the <p> tag. Your links are in
    them, with no margin
    defined.
    <p><strong><a
    href="kit-mini.html">Mini-Bingo
    Kit</a></strong></p>
    Add this to your CSS:
    p {margin: 2px;}
    I'm afraid this isn't the only problem.
    Take a look at the page in FF with the browser's text size
    setting at 1
    level larger than what you have been using.
    ( ctrl+ + to enlarge )
    Here's a screen shot:
    http://tnsgraphics.com/tempscreenshot.htm
    Here's info on the trouble (see "The Problem with Layers")
    http://apptools.com/examples/pagelayout101.php
    Take care,
    Tim
    "Ehd24" <[email protected]> wrote in message
    news:[email protected]...
    > My table rows 1,3 &5 have a height that is 2x bigger
    FF than it should be.
    > IE7
    > is perferct. Also, the font is the same size in both
    browsers. Any
    > suggestions
    > are greatly appreciated.
    >
    >
    http://www.wholesalebingosupplies.com/bingo-game-kits.html
    >
    > main div code:
    >
    >
    >
    > <div id="main-content" align="left">
    > <div class="scrollerArea">
    > <h1>Bingo Game Kits </h1>
    > <p class="style1">We offer a variety of bingo game
    kits for whatever
    > your needs and size of your party. ? </p>
    > <table width="500" border="1" cellpadding="5"
    align="center">
    > <tr bgcolor="#F58030">
    > <th scope="col"><div align="center">
    > <p><strong><a
    > href="kit-mini.html">Mini-Bingo
    Kit</a></strong></p>
    > </div></th>
    > <th scope="col"><div align="center"><a
    > href="kit-gold.html">Gold Bingo
    Kit</a></div></th>
    > </tr>
    > <tr>
    > <th scope="col"><div align="center"
    > class="style2">
    > <div align="center"></div>
    > <div align="center"><a
    > href="kit-mini.html"><img
    src="images/kits/mini-bingo-kit-small-bingo.jpg"
    > width="250" height="188" /></a></div>
    > </div></th>
    > <td><div align="center"><a
    > href="kit-gold.html"><img
    src="images/kits/gold-bingo-kit-small-bingo.jpg"
    > width="250" height="187"
    /></a></div></td>
    > </tr>
    > </table>
    > <table width="500" border="1" cellpadding="5"
    align="center">
    > <tr bgcolor="#F58030">
    > <th scope="col"><div align="center">
    > <p><strong><a
    > href="kit-platinum.html">Platinum Bingo
    Kit</a></strong></p></div></th>
    > <th scope="col"><div align="center">
    > <p><strong><a
    > href="kit-gold-professional.html">Gold Professional
    Bingo
    > Kit</a></strong></a></p>
    > </div></th>
    > </tr>
    > <tr>
    > <th height="203" scope="col"><div
    > align="center"
    > class="style2">
    > <div align="center"><a
    > href="kit-platinum.html"><img
    > src="images/kits/platinum-bingo-kit-small-bingo.jpg"
    width="250"
    > height="188"
    > border="0" /></a></div>
    > <div align="center"></div>
    > </div></th>
    > <td><div align="center"><a
    > href="kit-gold-professional.html"><img
    > src="images/kits/gold-professional.jpg"
    > width="250" height="190"
    /></a></div></td>
    > </tr>
    > </table>
    > <table width="250" border="1" cellpadding="5"
    align="left">
    > <tr bgcolor="#F58030">
    > <th bgcolor="#F58030" scope="col"> <p
    > align="center"><strong><a
    >
    href="kit-gold-professional.html"></a></strong><strong><a
    > href="kit-platinum-professional.html">Platinum
    Professional Bingo
    > Kit</a></strong></p></th>
    > </tr>
    > <tr>
    > <td><div align="center"><a
    > href="kit-platinum-professional.html"><img
    > src="images/kits/platinum-professional.jpg" alt=""
    width="250"
    > height="190"
    > /></a></div></td>
    > </tr>
    > </table>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > </div>
    > </div>
    >
    > <!-- End main-content -->
    >

  • Table Row Heights

    Hi
    I am using Indesign CS3 SDK on Windows.
    I am trying to use GetRowHeights() of TableGeometry to get height of multiple rows. I am getting Minimum Row Height * Number of rows, and not the actual height.
    Can anybody tell me how to get the exact height of these rows?
    Rajani

    In BO XIR3.1 the row height does not appear to be based on individual rows. Instead the row height is the same for each row in the table. Is there some setting that I need to adjust here?

  • Two swing tables row doesn't have same height-urgent

    Hi,
    i have two tables inside two different panels.The tables row size is not same.private javax.swing.JPanel getJPanel3() {
         if (ivjJPanel3 == null) {
              try {
                        ivjJPanel3 = new javax.swing.JPanel();
                        ivjJPanel3.setName("JPanel3");
                        ivjJPanel3.setBorder(new javax.swing.border.EtchedBorder());
                        ivjJPanel3.setLayout(new java.awt.BorderLayout());
                        ivjJPanel3.setBackground(new java.awt.Color(220,222,248));
                        ivjJPanel3.setBounds(580, 24, 215, 319);
                        ivjJPanel4 = new javax.swing.JPanel( new BorderLayout());
                        ivjJPanel4.setBackground(new java.awt.Color(220,222,248));
                        ivjJLabel13 = new JLabel("Enter Attendees", JLabel.CENTER);
                        ivjJPanel4.add( ivjJLabel13, BorderLayout.NORTH );
                        ivjJPanel5 = new javax.swing.JPanel( new BorderLayout());
                        ivjJPanel5.setBackground(new java.awt.Color(220,222,248));
                        ivjJLabel14 = new JLabel("First Name");
                        ivjJPanel5.add( ivjJLabel14, BorderLayout.WEST );
                        ivjJTextField17 = new javax.swing.JTextField();
                        ivjJPanel5.add( ivjJTextField17, BorderLayout.CENTER );
                        ivjJPanel4.add(ivjJPanel5, BorderLayout.CENTER);
                        ivjJPanel6 = new javax.swing.JPanel( new BorderLayout());
                        ivjJPanel6.setBackground(new java.awt.Color(220,222,248));
                        ivjJLabel15 = new JLabel("Last Name");
                        ivjJPanel6.add( ivjJLabel15, BorderLayout.WEST );
                        ivjJTextField18 = new javax.swing.JTextField();
                        ivjJPanel6.add( ivjJTextField18, BorderLayout.CENTER );
                        ivjJPanel4.add(ivjJPanel6, BorderLayout.SOUTH);
                        getJPanel3().add( ivjJPanel4, BorderLayout.NORTH );
                        String[] columnNames = {"First Name", "Last Name"};
                        tableModel = new DefaultTableModel( columnNames, 0 ){
                             public boolean isCellEditable(int row, int column)
                                 return false;
                        ivjJTable = new JTable( tableModel );
                        ivjJTable.setRowSelectionAllowed(true);
                        ivjJTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
                        ivjJScrollPane = new JScrollPane( ivjJTable );
                        getJPanel3().add( ivjJScrollPane, BorderLayout.CENTER );
                        ivjJPanel7 = new javax.swing.JPanel();
                        ivjJPanel7.setLayout( new java.awt.BorderLayout());
                        ivjJButton4 = getJButton4();
                        ivjJPanel7.add( ivjJButton4, BorderLayout.WEST);
                        ivjJButton5 = getJButton5();
                        ivjJPanel7.add( ivjJButton5, BorderLayout.EAST );
                        getJPanel3().add(ivjJPanel7, BorderLayout.SOUTH );
                   } catch (java.lang.Throwable ivjExc) {
                   // user code begin {2}
                   // user code end
                   handleException(ivjExc);
              return ivjJPanel3;
    * Return the JPanel3 property value.
    * @return javax.swing.JPanel
    /* WARNING: THIS METHOD WILL BE REGENERATED. */
    private javax.swing.JPanel getJPanel43() {
         if (ivjJPanel43 == null) {
              try {
                                    ivjJPanel43 = new javax.swing.JPanel();
                                    ivjJPanel43.setName("JPanel4");
                        ivjJPanel43.setBorder(new javax.swing.border.EtchedBorder());
                        ivjJPanel43.setLayout(new java.awt.BorderLayout());
                        ivjJPanel43.setBackground(new java.awt.Color(220,215,222,248));
                        ivjJPanel43.setBounds(796, 24, 260,296);
                        ivjJPanel4t = new javax.swing.JPanel( new BorderLayout());
         ivjJPanel4t.setBackground(new java.awt.Color(220,222,248));
                                            ivjJLabel13t = new JLabel("Enter Firm", JLabel.CENTER);
                                            ivjJPanel4t.add( ivjJLabel13t, BorderLayout.NORTH );
                                            ivjJPanel5t = new javax.swing.JPanel( new BorderLayout());
                                            ivjJPanel5t.setBackground(new java.awt.Color(220,222,248));
                                            ivjJLabel14t = new JLabel("Firm  ");
                                            ivjJPanel5t.add( ivjJLabel14t, BorderLayout.WEST );
                                            // ivjJTextField17t = new javax.swing.JTextField();
                                            ivjJPanel5t.add( getJComboBox30(), BorderLayout.CENTER );
                                            ivjJPanel4t.add(ivjJPanel5t, BorderLayout.CENTER);
                                            ivjJPanel6t = new javax.swing.JPanel( new BorderLayout());
                                            ivjJPanel6t.setBackground(new java.awt.Color(220,222,248));
                                            ivjJLabel15t = new JLabel("         ");
                                            ivjJPanel6t.add( ivjJLabel15t, BorderLayout.WEST );
                                            ivjJTextField30 = new javax.swing.JTextField();
                                            ivjJPanel6t.add( ivjJTextField30, BorderLayout.CENTER );
                                            ivjJPanel4t.add(ivjJPanel6t, BorderLayout.SOUTH);
                                            getJPanel43().add( ivjJPanel4t, BorderLayout.NORTH );
                                    String[] columnNames1 = {"Firm Name"};
                        tableModel1 = new DefaultTableModel( columnNames1, 0 ){
                             public boolean isCellEditable(int row, int column)
                                 return false;
                        ivjJTable1 = new JTable( tableModel1 );
                        ivjJTable1.setRowSelectionAllowed(true);
                                    ivjJTable1.setSelectionModel(ivjJTable.getSelectionModel());
                                    ivjJTable1.changeSelection(ivjJTable.getSelectedRow(),0,false,false);
                        ivjJScrollPane1 = new JScrollPane( ivjJTable1 );
                        ivjJPanel43.add( ivjJScrollPane1, BorderLayout.CENTER);
                                    setVisible(true);
               catch (java.lang.Throwable ivjExc) {
                   // user code begin {2}
                   // user code end
                   handleException(ivjExc);
              return ivjJPanel43;
    }

    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.

  • How to restrict height of table  in smartform without using template

    Hi Gurus,
    I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because  page-breaks are used in the form .
    Your solutions are highly appreciated.
    Thanks and regards,
    Meenakshi

    Hi,
    As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
    A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
    If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
    This way all time the table will take the height of 5 rows.
    As i said earlier this could be a temporary solution.
    Thanks,
    Hari Prasad.

  • Applying table scroll bar for only table rows with table columns fixed.

    hi oa gurus,
    i had implemented table scroll bars using oarawtextbean , there is no problem in vertical and horizontal scroll bar working its working fine. but the requirement is i need to scroll only the table rows with table columns fixed. so , how to achieve the table scroll for only table datas neglecting table headers.
    the code for vertical and horizontal bars scroll is like this,
    OARawTextBean ors = (OARawTextBean)webBean.findChildRecursive("raw1");
    ors.setText(div id=tabledivid style=height:500px;width:100%; overflow:auto>);
    OARawTextBean ore = (OARawTextBean)webBean.findChildRecursive("raw2");
    ore.setText("</div>");
    where raw1 and raw2 are rawtextbean created above and below of the table . but i dont know hoow to apply this only for table rows neglecting table columns , can anybody give any ideas.
    pelase this is very urgent , can u help me in this regards
    thanks
    Edited by: user630121 on Sep 29, 2008 5:17 AM
    Edited by: user630121 on Sep 29, 2008 5:18 AM

    hi,
    I have a similar task to do... Only to apply scrollbar at the table level.
    I tried using the above mentioned but I am facing Null Pointer Exception..
    Please explain about raw1 and raw2
    Rahul

Maybe you are looking for

  • Web Dynpro application crashes on startup

    Hi all. After upgrading EP from SP8 to SP13 I have the problem with calling any application in portal(for example, when I try to create new iview in portal content directory). 500   Internal Server Error   Web Dynpro Container/SAP J2EE Engine/6.40   

  • Time Machine failing on Snow Leopard

    Hi all For some weeks now Time Machine has been telling me that it is unable to back up because there isn't enough space on the allocated hard drive. I am on OSX 10.6.8 and  am backing up to a 500GB internal hardrive, which I appreciate isn't large (

  • Any issues upgrading from 1.0.2 to 1.1.2?

    Hello, I have a regular unhacked/locked phone and it's on 1.0.2. I never upgraded to 1.1.1 because of the rumor of the battery draining issue. I have very good battery usage. Now that 1.1.2 seem to have fix that, I'd like to upgrade. So I'd like to h

  • UPortal and XML/XSL

    I know it�s not exactly pure java but it is used in a java project... anyway. I am using the uPortal package and am wondering how to change the "look and feel" of it. Everything I�ve found on the web so far sucks, it doesn�t explane very well. Can an

  • Nikon D300 - Unsupported Image Format - intermittently!!!

    Suddenly, I get intermittent displays of the maroon screen with Unsupported Image Format when displaying .NEF files which have worked fine before. I see that others may have had this too...but could not find a definitive cause or solution...yet. I am