Tree size of expanded items

Hello,
I have a MasterColumn to represent a tree-like hierarchy in a table
and I wonder how I can retrieve the total number of expanded lines of the
tree at runtime, ie retrieving the number "n" that is displayed in the
table footer "Row x of n"
Thanks and best regards,
Laurent

Laurent,
Check my post /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii
Copy from there method sizeOf(<nodeElement>);
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com

Similar Messages

  • Tree grid not expanding in SharePoint 2013.

    I have written a code using TB.Web.UI.TreeGrid.dll to represent data in tree grid in ShaarePoint 2010. and we have moved to 2013 with same code tree grid stop expanding giving me following Javascript error.Please suggest.
    TypeError: tr.style is undefined
    tr.style.display = "none";

    Hi,
    I suggest you use IE F12 developer tool to check the issue. You can also
    contact its
    author to see if there is working version in SharePoint 2013.
    In SharePoint 2013, we can use JavaScript Client Object Model or REST API to get the list data, then use jQuery treetable to display the data.
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    http://plugins.jquery.com/treetable/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to make the APEX tree in the "Expand All" shape by default?

    Could anybody please enlighten me on how to make the APEX tree in the "Expand All" shape by default please? I created an APEX tree and by default it's in the "Collapse All" shape. I am using APEX 4.1.0.00.21

    Hi,
    you can check the view source of html and check the onclick code written on that plus sign(Expand All), just copy that onclick javascript code and put it on page javascript event.
    Thanks,
    Jaydip Bosamiya
    +91-76000 23053
    http://jbosamiya.blogspot.com

  • ADF: Tree Refresh after Expanding a node. Please Frank have a look!

    About this post:
    Re: ADF: Tree Refresh after Expanding a node
    Frank answered that he doesn't notice that behavior. I found out that this happens if an appication uses a custom skin.
    In SRDemoSampleADFBC, SRManage.jspx (Management from menu), if you make the explorer window small enough not to cover the whole tree, you can notice this (the page jumps to the top).
    Now if you change in adf-faces-config.xml the "skin-family" tag to "oracle", you will see that the tree component has changed (it has no triangle icons why this happens) and the page doesn't refresh.
    Minas

    It seems that there's more to the tree expansion icon than the skin definition. We're using the minimal skin and ADF puts out a special character to represent the disclosure symbol (which by the way, renders differently on IE6, than IE7, than Safari or Firefox on Mac). However, switching to the Oracle skin, the disclosure symbol comes out as a full-on image (triangle including the +). We have found this frustrating because the triangles seem not sufficiently suggestive to our users - but switching to the Oracle skin has other issues with white-on-white text.
    But in any case, the tree refresh after node expansion is another annoyance as I described in the other thread linked here (including URL to see problem in action).
    Cheers, Mark

  • How to create a tree structure using list items(tlist)

    HI every one,
    As we know how to create a tree structure using Hierarchy item type.
    We have a requirement to create The same tree like structure using List Item(Tlist)
    I would be so appreciated If you send with an example
    Thanks
    RangaReddy

    Hi all
    Any one help me please
    Actually our client requirement is creation of tree structure using list item,similar to what we used in oracle Application(FNDSCSGN) form.We did the tree structure using hierarchy tree using Htree and Ftree.It working excelently.For client requirement, we want to use list item.How PJC(Pluggable Java Components) is useful for using list item(Tlist).I can't understand how it is useful.
    Do you have any example please help me.
    Thanks
    RangaReddy

  • Ajax memory tree can't expand when searching for a specific node.

    Hi,
    I've just followed the ajax tree example. Everything is working except when the find node windows pop up and a node is selected. the corresponding report is displayed but the ajax tree doesn't expand accordingly.
    Any help would be appreciated.
    Thanks
    Venus

    I too am having this issue with Scott's search ajax tree example listed here..
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    The correct node is highlighted if that level of the tree happens to be expanded, but the tree is not automatically expanding to show the correct node. Which part of the code is meant to "automatically expand" the tree? Is it the
    "if tree_rec.id = y.id and tree_rec.id != v('P1_SELECTED_NODE') then..."
    section of "find_node" in
    http://www.oracle.com/technology/pub/listings/spendolini-tree-l1.html
    Any help appreciated.
    Thanks, Penny

  • Tree - selecting and expanding root node

    I want to have a tree root node expanded at start.
    I have tried:
    tree.selectedIndex = 0;
    if (tree.selectedItem && tree.dataDescriptor.isBranch(tree.selectedItem))
         tree.expandChildrenOf(tree.selectedItem, true);
    ...but it doesnt work.
    Anyone ...?

                    var node:XML = mainTree.root as XML;
                    mainTree.expandItem(node, true);
    You could also toggle it:
                    var node:XML = mainTree.root as XML;
                    var isOpen:Boolean = mainTree.isItemOpen(node);
                    mainTree.expandItem(node, !isOpen);

  • Estimating Size of backup Items taking considerable amount of time?

    The part of the Azure Online Backup that does the "estimating size of back items" is taking hours to complete.   Is there anyway to speed it up?  I want to be backing up files right away, not have to wait for an estimate of size.

    Hi,
    the message might be little misleading but as part of estimating size of the backup items, we enumerate what all files and directories need to be backed up based on whether they changed from last backup and then start backing them up. if you have huge amount
    of files and directories say like a build server then its likely you will be seeing this. We already have a feature request to improve this for such kind of workloads.
    Thanks
    Prashanth

  • Open Tree control in expanded state

    I have built a small framework to display demos -- and use an
    XML-driven tree component to provide access to demo segments and
    published files.
    I would like the TOC in the Tree component to open in
    expanded state, but am having no luck with myTree.setIsOpen.
    The tree connects to the XML OK -- I can expand/collapse,
    etc... and it all looks great. But I cannlt get the tree to open
    expanded.
    The code I'm trying to open the TOC expanded:
    this.demoTOC.setIsOpen(this.demoTOC.getTreeNodeAt(0), true);
    The XML that's connected to the tree:
    <?xml version="1.0" encoding="UTF-8"?>
    <toc>
    <demosection label="MY TITLE" >
    <demo ID="00demo.flv" label="title01" isBranch="true"
    />
    <demo ID="01demo.flv" label="title02" isBranch="true"
    />
    <demo ID="02demo.flv" label="title03" isBranch="true"
    />
    <demo ID="03demo.flv" label="title04" isBranch="true"
    />
    </demosection>
    </toc>
    If anyone can point out what I'm doing wrong, I am ready to
    learn.
    Thx.

    Never mind -- figured it out.
    It was a scoping issue -- calling the setIsOpen form inside
    the XML loader function.

  • Open tree component in expanded state

    I have built a small framework to display demos -- and use an
    XML-driven tree component to provide access to demo segments and
    published files.
    I would like the TOC in the Tree component to open in
    expanded state, but am having no luck with myTree.setIsOpen.
    The tree connects to the XML OK -- I can expand/collapse,
    etc... and it all looks great. But I cannlt get the tree to open
    expanded.
    The code I'm trying to open the TOC expanded:
    this.demoTOC.setIsOpen(this.demoTOC.getTreeNodeAt(0), true);
    OR
    this.demoTOC.setIsOpen(this.demoTOC.getTreeNodeAt(0).getTreeNodeAt(0),
    true);
    The XML that's connected to the tree:
    <?xml version="1.0" encoding="UTF-8"?>
    <toc>
    <demosection label="MY TITLE" >
    <demo ID="00demo.flv" label="title01" isBranch="true"
    />
    <demo ID="01demo.flv" label="title02" isBranch="true"
    />
    <demo ID="02demo.flv" label="title03" isBranch="true"
    />
    <demo ID="03demo.flv" label="title04" isBranch="true"
    />
    </demosection>
    </toc>
    If anyone can point out what I'm doing wrong, I am ready to
    learn.
    Thx.

    Never mind -- figured it out.
    It was a scoping issue -- calling the setIsOpen form inside
    the XML loader function.

  • How do you expand items in a list of items in jsp page

    I have this list of task items being retrieved from the data from master table:
         <%
         List taskList = (List) request.getAttribute("searchresult");
         if (searchresultList.size() != 0) { 
         for (Iterator itr=searchresultList.iterator(); itr.hasNext(); )
              TaskList  workList =
            (taskList )itr.next();
         %>     
         <tr>
              <td>
                     <a href="/taskItemDetail.do?itemId=<%=taskList.getId()%>" >
                    <%=taskkList.getId()%></a>
              </td>
              <td><%=taskList.getTask()%></td>
              <td><%=taskList.getDate()%></td>
         </tr>
    <%}%>
    now when I click on the above link I want to be able to get the detail for that item from
    the detail table and want to be able to show it inbetween the other master tables results.
    Kind of like when you expand an item in windows folders by clicking the plus sign (+).

    Basically you have two choices. You can include the whole, expanded list in your HTML, and use Javascript on the client side to fold and unfold sections, or you can maintain a list of folded items in your web app, and have transactions which alter this list and return an appropriate new page.
    Remember, JSPs are not interactive. All they do is generate HTML.
    Ideally, store the folding state on the page (e.g. encoded into a hidden field). You could put it in Session, but then if you have two browser windows open on the same browser windows can interfere with one another.

  • Tree size for TreeByNesting UI Element

    Hi
    I have table and a Tree embedded in it.
    I have mapped a value Attribute to the table property  for no of rows to visible.
    When the User Expands a Tree node I am trying to use onActionLoad Children to find out no of children and try to set the same to the value Attribute.
    But there is no event getting generated when user Collapses the tree Node to determine the size of the Table.
    please let me know in case we can achive the same by other means.
    Thank you
    Regards
    Krishna Kanth

    hai krishna,
               Say A-parent B-parent
                a1,a2,a3 -- b1,b2,b3 are children
        the children will be available in a table in backend.just loop the table and get the children under parent A and load them under A |||ly do it for parent B.Please give ur requirement in detail.
    Regards
    Sharanya.R

  • How to collapse other expanded   item

    Hi,
    I have 5 department on a tree view datawindow   and each department consists of employee name. When I try to expand department 5  how to make
    other departments  as collapsed if they have been already  isexpanded before. The users want to view the current item to be expanded state.
    Please help
    Pol

    Please can you provide a  sample code for that.
    //long l_grouplevel_old,li_row_old // //l_grouplevel_old = l_grouplevel //li_row_old = li_row //l_grouplevel = grouplevel //li_row =  row // // dw_1.Collapse(l_grouplevel_old,li_row_old) But it is not working

  • How to find total size of selected items in library

    My library contains much more than my 2GB Nano can hold. I frequently change the content of the Nano with songs and books. How can I keep track of the total size of items I'm selecting for the next Nano update to speed my update? Presently I can only guess what to unselect if the selections are of greater size than my Nano will hold.

    There is no direct way to accumulate total file size when selecting a subset of songs within the Library or a Playlist.
    The only way you can manage this is to create an empty Playlist that you can drag songs into. It will accumulate the total size of the songs as you deposit them into it (as described by StarDeb above).
    If you get to a size greater than the nano will hold, then remove one or more songs from that Playlist.
    There is no 'running-total' of only the selected items like Windows Explorer does. Sorry.

  • App. Express -- Change font size in the item label.

    I would like to size the item label so I did this and it did not work
    in the label I put <span style="font-size:12px;">ITEM 1</span> and
    <span style="font-weight:bold;">ITEM 1</span>
    What wrong?

    Hello,
    The basic “trick” here is to duplicate the proper label template (you can of course change the original label template, but that’s less advisable) in order to add an ID to the text/link part.
    In my example, the template is base on the “Optional Label with Help” template, and the “Before Label” field contains the following:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999"><a class="t2OptionalwithHelp" id="L_#CURRENT_ITEM_NAME#" href="javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999">In order to maintain ID uniqueness, the new ID just adds “L_” to the item name.
    Now I have direct access to the text/link, and I can manipulate it using JavaScript. In the example, I added the following to the region footer:
    <script type="text/javascript">
    $x('L_P160_ITEM2').style.fontSize = '20px';
    $x('L_P160_ITEM3').style.fontSize = '30px';
    $x('L_P160_ITEM3').style.color = 'green';
    </script>Regards,
    Arie.
    Hi Carl,
    As usual I was busy typing and didn’t see your reply. I agree that a specific example would be the best and easiest way to help.
    Message was edited by:
    ageller1

Maybe you are looking for

  • Macbook pro dedicated graphics

    So I am completely new to Mac, and I have just purchased a new Macbook Pro with the dGPU. The system has been delivered today, however I am struggling to find the actual dGPU on here, I have gone on to 'about this mac' and it just states the Intel Gr

  • Editing with Photoshop CS3 from Photoshop Elements 8

    I posted this in the PSE forum but didn't get any hits. Hopefulyy I'll be luckier here. I have just purchased Photoshop Elements 8. I do all my editing usually with Photoshop CS3. I use Elements mainly for the organizer. When I choose Edit with Photo

  • Missing classe to implement How to Web Printing with MS Excel

    Hi there, we're trying to implement the How to paper "Web Printing with MS Excel". This paper comes with transport files to import the needed packages and classes. Now when I try to import that thing, the transport hangs. Checking the protocol shows

  • Magic wand selects everything. Help!

    Hi, I'm using Illustrator CS6 and I haven't been able to use the magic wand tool. I have Photoshop CS6 and the magic wand works perfectly in that program. The problem is that I mainly use Illustrator to work and if I try to open the image in Photosho

  • Hard limit to xml size for add_event and process rules?

    Hi, Is there is hard limit of 4000chars to the input xml for add_event and process_rules fumction in 10g R2? Regards, Nishanth