TreeTable with variable tree row height

Hello,
I am trying to implement a treetable where the tree node height depends on the text. I am facing the following bugs in the code.
1> The rows with multi line text are not rendered correctly even though the tooltip text is shown correctly.The screen shot for this bug : [http://i300.photobucket.com/albums/nn40/ranchugold/treeTable.jpg]
2> The node "Group2" does not expand when I click on the "+". Instead the node will expand if the mouse is clicked one row above the "+". The screenshot for this bug: [http://i300.photobucket.com/albums/nn40/ranchugold/treetable2.jpg]
The code for the treetable has been taken from the Sun examples and is available at [http://www.filefactory.com/file/b0h879g/n/treeTable.zip] .
Any help will be appreciated.
Thanks,
Arun

What the hey is an apps panel? Looking at your code, it seems you may be an internal oracle developer working in fusion apps, in which case you should be asking in some internal forum somewhere, since we the general public don't have access to the same goodies that you do
John

Similar Messages

  • Problems with Automatic Adjust row height in FRs ver. 11.1.2.1.103

    Hi
    We have just upgraded to 11.1.2.1.103 from 9.3.3.
    .103
    We had a fairly complex report that worked in the previous environment, but not anymore.
    We have a number of text lines with that pulls from other lines in the report that are hidden.
    It is celltext that we are reporting on.
    The lines are setup, so the row height should just adjust depending on the amount of text, but it does no longer work for consecutive lines with the adjust row hight atribute swithed on. I now have to insert blank text lines with a fixed height in between to get it to work.
    It makes the report the report look messy, so has anyone had similar issues and know a work around or a possible patch.
    KR
    Per

    Okay,
    I tried that I when I tried to use: sqlplus -s I got the following results
    SQL> sqlplus -s
    SP2-0042: unknown command "sqlplus -s" - rest of line ignored.
    I am also still getting the following in my output:
    Any other suggestions?
    SQL> Select
    2 'Siebel CVP' as Source_Name,
    3 'RCI' AS Brand,
    4 'Phone' AS Channel,
    5 'Inquiry' AS EBR_Type
    6 FROM dual;
    Siebel CVP RCI Phone Inquiry
    SQL> set head on
    SQL> Select
    2 substr(con_home_ph_num,1,10) AS Chan_Addr,
    3 'No EBR Date' As EBR_date,
    4 substr(x_rccl_brand,1,3) AS Brand,
    5 'Phone' AS Channel,
    6 substr(con_person_uid,1,21) AS Src_Id,
    7 substr(x_rccl_source,1,23) AS EBR_source,
    8 'Inquiry' AS EBR_Type
    9 FROM
    10 siebel.eim_contact
    11 WHERE
    12 con_home_ph_num is not null and
    13 con_home_ph_num > '201'
    14 and length (con_home_ph_num) = '10'
    15 and con_home_ph_num <> '0'
    16 and con_home_ph_num <> '1111111111'
    17 and con_home_ph_num <> '9999999999'
    18 and con_home_ph_num <> '0000000000'
    19 and con_home_ph_num NOT LIKE '+%'
    20 and con_home_ph_num NOT LIKE '0%'
    21 and con_home_ph_num NOT LIKE '123%'
    22 and con_home_ph_num <> '2222222222'
    23 and x_rccl_call_type is null
    24 and x_rccl_brand = 'RCI'
    25 and TO_DATE(TO_CHAR(x_rccl_entry_date, 'MM/DD/YYYY'), 'MM/DD/YYYY') >= TO_DATE(TO_CHAR(sysdate, 'MM/DD/YYYY'), 'MM/DD/YYYY')
    26 and x_rccl_source IN ('CTI','CTI_GVS','CTI_HOTWEB','CTI_PRE_SHOPPING_CALL','DIR_PASTGUEST_RECONNECT')
    27 ORDER BY
    28 con_home_ph_num asc
    29 /
    CHAN_ADDR EBR_DATE BRA CHANN SRC_ID EBR_SOURCE
    EBR_TYP
    5167350937 No EBR Date RCI Phone Prospect - 1-3IIJ-218 CTI_PRE_SHOPPING_CALL
    Inquiry
    8054977010 No EBR Date RCI Phone Prospect - 4861358 CTI_PRE_SHOPPING_CALL
    Inquiry
    SQL> spool off

  • Slow performance of treeTable with 35,000 rows

    I have a page that has a vertical Panel Splitter. Thre first facet of the
    Panel Splitter
    contains a Panel Strech Layout. Its center facet contains a treeTable whose
    value has been
    derived from #{pageFlowScope.mapperUIBean.
    targetTreeModelForCurrentMappingSet}. The targetTreeModelForCurrentMappingSet
    has been populated in the mapperUIBean with over 35,000 rows.
    When I run the page and click on any row (either the first or last row), it
    processes the
    selectionListener method that was declared but it takes about 25-30 seconds
    before it processes it.
    The same thing is true when I drag something into a row.
    I am on jdev 11.1.1.6.1.
    Thanks for any help provided.

    Hi,
    hard to tell. There is nothing else than the description of the behavior, which is not enough for a guess. If the rows are saved in a managed bean in page flow scope, the question is how you get them out into the tree table. If you can intercept this and print time informations, it may give you an idea
    Frank

  • 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

  • Min. row height table style

    A new table in Indesign is by default set with a minimum row height of 1.058 mm. This 'minimum' feature is also visible in a table style (the 'exact' feature is not for some reason). When I import a table from Word for example, it's row height might be different. For example a certain row had a height of 25 mm. So I applied the cell style to it where I set the 'min' rowheight to 1.058 mm. However, the row height still remains 25 mm. This doesn't only happen to imported tables. I've inserted a new table in indesign. This had a row height of 1.058 by default. Then I dragged a row heigher to 40 mm for example. Then I applied the cell style again with 'min' set to 1.058. The row height should turn to 1.058 but it remains 40 mm. Why can't I apply a rowheight in a cell style? Now I have to convert a table to text and then back to table again to get the default rowheight back.

    If you want to force it to be a certain height, you should change "At Least" to "Exactly." "At Least" does just what it says it does—it sets a minimum for the row height, but lets the max vary. It should like you want to rows to be "exactly" a certain height, even if it causes text to become overset.
    You should also be able to change your defaults when you have no documents open if you prefer it to work differently.

  • Resizing a JList with variable row heights, not updating the "picture"

    Firstly I would like to apologize for posting this Swing question here, but I was unable to find the Swing category, if someone could direct me to that I would be most grateful.
    Ok, so in abstract what I am trying to do is have a JList with resizable rows to act as a row header for a JTable (exactly like the row headers in OO Calc or MS Excel).
    What I have is a RowHeaderRenderer:
    public class RowHeaderRenderer extends JLabel implements ListCellRendererand it has a private member:
    private Vector<Integer>        _rowHeights            = new Vector<Integer>();which contains a list of all the variable row heights.
    Then there is my getListCellRendererComponent method:
        public Component getListCellRendererComponent(    JList         list,
                                                          Object        value,
                                                          int           index,
                                                          boolean       isSelected,
                                                          boolean       cellHasFocus)
            // Make sure the value is not null
            if(value == null)
                this.setText("");
            else
                this.setText(value.toString());
            // This is where height of the row is actually changed
            // This method is fed values from the _rowHeights vector
            this.setPreferredSize(new Dimension(this.getPreferredSize().width, _rowHeights.elementAt(index)));
            return this;
        }And then I have a row header:
    public class RowHeader extends JList implements TableModelListener, MouseListener, MouseMotionListenerand you may be interested in its constructor:
        public RowHeader(JTable table)
            _table = table;
            _rowHeaderRenderer = new RowHeaderRenderer(_table);
            this.setFixedCellWidth                        (50);
            this.setCellRenderer                        (_rowHeaderRenderer);
            // TODO: grab this value from the parent view table
            JScrollPane panel = new JScrollPane();
            this.setBackground(panel.getBackground());
            this.addMouseMotionListener                    (this);
            this.addMouseListener                        (this);
            this.setModel                                (new DefaultListModel());
            table.getModel().addTableModelListener        (this);
            this.tableChanged                            (new TableModelEvent(_table.getModel()));
        }and as you can see from my mouse dragged event:
        public void mouseDragged(MouseEvent e)
            if(_resizing == true)
                int resizingRowHeight = _rowHeaderRenderer.getRowHeight(_resizingRow);
                _rowHeaderRenderer.setRowHeight(_resizingRow, resizingRowHeight + (e.getPoint().y - _cursorPreviousY));
                _cursorPreviousY = e.getPoint().y;  
        }all I am doing is passing the rowHeaderRenderer the values the currently resizing row should be, which works fine. The values are being changed and are accurate.
    The issue I am having is that while this dragging is going on the row does not appear to be resizing. In other words the "picture" of the row remains unchanged even though I change the values in the renderer. I tried calling:
    this.validate();and
    this.repaint();at the end of that mousedDragged method, but to no avail, neither of them worked.
    Again, I verified that I am passing the correct data in the RowHeaderRenderer.
    So, anyone have any ideas how I should get the image of the RowHeader (JList) to update after calling my MouseDragged event?
    Thank you for your time,
    Brandon

    I was able to fix this some time ago. Here is the solution:
         public void mouseDragged(MouseEvent e)
              if(_resizing == true)
                   int newHeight = _previousHeight + (e.getPoint().y - _cursorPreviousY);
                   if(newHeight < _minRowHeight)
                        newHeight = _minRowHeight;
                   _rowHeaderRenderer.setRowHeight(_resizingRow, newHeight);
                   _table.setRowHeight(_resizingRow, newHeight);
              this.updateUI();
         }

  • Tabular report with variable-height 2nd line?

    I have a simple tabular (Tablix) report.  The last field is a message (varchar(1000)) which I would like to place by itself on a second line (while still preserving the tabular format), with variable height.  
    The problem is, when I add a second row to the detail region, I can add the message field, but it is limited to the size of the field just above it.  I'm trying to allow that message field to take almost the entire width of the second detail line.  Can
    this be done?  
    Thanks.

    If you add a row inside the Details group, then select all cells inside the details group that are on the new row, you should be able to merge cells by right-clicking and choosing merge cells.
    You cannot merge cells across different scopes (row groups, column groups, etc) so be certain that you are not selecting cells that span different groups.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • How to insert a table with variable rows in smart form

    Hi all,
    How to insert a table with variable rows in smart form?
    Any help would be appreciated.
    Regards,
    Mahesh.

    Hi,
    Right click the mouse->create->table
    If you want 5 columns, you need to declare 5 cells in one line type of the table
    Click on Table -> Details, then do the following
    Line Type 1 2 3 4 5
    L1 2mm 3mm etc
    Here specify the width of the columns as many as you want..
    then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there.

  • Accordion with variable height

    Hi -
    I have a 2-panel accordion with variable heights, and spry
    data in both the top and bottom panels. Selections made in the top
    panel will load data into the bottom panel, and the page opens to
    the top panel by default. My problem is that the bottom panel will
    only display enough height to show the initial HTML markup, and not
    the spry data generated after the initial page load. Is there any
    way to use an observer to "refresh" the accordion to reset its
    height to accommodate the new data?
    Also, is there a way to require that at least one panel
    remain open when using variable heights?
    Thanks in advance,
    Rod

    Hi,
    We have a similar question on this
    post.
    To fit exactly with your request you should change the line:
    regionHeight =
    document.getElementById("myRegion").scrollHeight;
    with:
    document.getElementById("myRegion").style.height =
    document.getElementById("myRegion").scrollHeight + 'px';
    Diana

  • Where do I Change Table Row Height with Styles?

    I have created a lot of tables in the same document, and now I want to change the height of them. I have used Table Styles and Cell Styles, to be able to change things like this in *one* place instead of the 100 different tables...
    I can't find where I alter the Cell Height (aka Row Height) in any of the styles. What have I missed?
    Please help!

    @Andreas – nothing. You missed nothing. You cannot define cell height or width with cell styles…
    However you can do so with scripting. But not directly in scripting a property of the cell style, but in iterating through all table cells, finding out its cell style and acting on the cell directly (height, minimumHeight, maximumHeight and autoGrow properties).
    Another scenario would be using a special plug-in like "Smart Styles" from Woodwing.
    Uwe

  • Setting a single tree node row height?

    Is there any way within my treecelleditor to set the row height of a single node, the one being edited, to a larger height, then when editing is done, set it back to normal? Or does the whole tree have to have every row height changed? I want to provide a 2 row editor when a user edits the node.

    Hello Ken,
    Use fire-bug and see what classes APEX is using to toggle tree nodes (to expand and collapse). Generally, the class "open" is used to Open/Expand and class "closed" is used to Collapse tree node.
    Now, if you can determine, which list id from which you need to expand the tree, depending on the page you are, then you can open all child nodes under it using following JS.
    /* Assuming P1_LIST_ID has the ID of List item from where you want to open all child nodes*/
    $("li#"+$("#P1_LIST_ID").val()).find("li").removeClass("closed").addClass("open");You can put the code under "execute when page load" section of your page.
    Regards,
    Hari

  • Contact sheet with variable rows/columns

    I'm interested in an InDesign Contact Sheet script/plug-in that is capable of creating a contact sheet with variable rows and columns, allowing amages to be placed at 100%. For example, say I have 20 images all of various dimensions. I'd like to place each one on an ID page at 100% while fitting as many on a single page as possible. So if one of the images was 8in x 10in then it would be the only image on the page, assuming a page size of 8.5 x 11. If smaller images were included in the same batch though, they would be placed as many across and as many down as could fit. Any images larger than the select page size would scale to fit on the page.
    All of the existing solutions I've found so far force you to choose the number of rows and columns and then images are scaled to meet those requirements.
    Does anyone know if such a solution is out there?

    A stand-alone app that can do the same thing, essentially create scatter proofs, may work as well. If anyone knows of such a thing I'd be interested to hear.

  • Problem with row height

    Hi,
    I am working on XMLP PO Report.In this report I am displaying fixed rows (PO line items).PO line items are displaying perfectly but in Total row the unnecessary space is displaying.Meaning,suppose it is sufficient of 3 inch height but it is showing around 7 inches height at run time.
    Even I gave row height 3 inches in Table properties but still it is showing around 7 inches height at run time.
    Could you please any body suggest to over come this problem.
    Thanks and Regards

    Thank you very much for reply.
    I do not have cell margin set ups.
    In Cell Options window cell margins --> Same the whole table check box is selected and
    Options --> Wrap text check box is selected.
    Could you please tell me the required setups
    Thanks

  • Af:treetable with af:tableSelectMany

    HI
    I'm currently using a af:treetable with af:tableSelectMany for select many rows from a tree.
    I need any checkbox checked before load the af:treetable with af:tableSelectMany ,
    What method is neccesary?
    Thanks / Ali

    Hi,
    if this is a critical issue with a customer of yours, wouldn't it be best to run this against customer support than here on the forum ? This would make sure the issue is properly analyst and filed as a bug if it turns out to be a product problem. Unless the adf-config.xml file is configured to also persist the display row key in MDS, the behavior points to an issue that needs customer support to be involved
    Frank

  • Table Component and Row Height

    I am using XCelsius 4.5 and using the table component.  Is there anyway the row height on the table component can be linked to the Excel file?  It is not dynamically changing or wrapping text based on the amount of data that is imported in.

    Judging from the stack trace this has nothing to do with your variable row height. You are simply not respecting some array bounds (maybe your data array for the table model) when you insert the new row.
    In newRouteFare() do you fire a tableRowsInserted event? Or something similar? Check the rows passed into the Event object to see if you are exceeding the limits of the current table model.
    Thomas

Maybe you are looking for