Collapse top node and expand below node

Hi,
In my Query, I have inserted a characteristic2 below an existing characteristic1(like a hierarchy). The problem I m facing is that if I set "Collapse node" property in the top characteristic(Characteristic1) it is also applied to the below characteristic(Characteristic 2). I want the characteristic 1 to be collapsed by default and characteristic 2 to be expanded by default. Is this possible?
Regards,
Krishna

Hi
I hope your requirement is not possible.Be coz char 2 will be dependent on Char1.When u collapse Char1 automaticall Char2 also collapsed.
Regards
Ram.

Similar Messages

  • Tree error, after Expand All, then collapsing any node, ORA-6502/6512

    Has anyone seen this problem with the Tree?
    Normal Tree mode works great, can expand and collapse nodes with no problem.
    I can Expand All, Collapse All, and Reset Tree without problems.
    However, if I select Expand All, and then try to collapse any node, I get this error.
    Unexpected error ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1
    My database is 9.2.0.4, and there are 1,138 records in my tree table, with id NUMBER(8), pid NUMBER(8), and name VARCHAR2(100).
    my tree query is:
    select "ID" id,
    "PID" pid,
    "NAME" name,
    'f?p=150:2:&SESSION.::NO::P2_PARAM_ID:'||"ID" link,
    null a1,
    null a2
    from "#OWNER#"."PARAM_TREE"
    order by 3
    My root tree query is:select "ID" id, "PID" pid, "NAME" name, null link, null a1, null a2 from "#OWNER#"."PARAM_TREE" where id=0
    I checked the link to collapse, it was the same in normal mode or Expand All:http://umbriel.xxx.com:7777/pls/EDIWS_GUI_DEV/f?p=150:1:9757663040679228582:CONTRACT,69
    Any ideas, I searched in the forum, saw something on 9.2.0.6 that sounded similar, but it was specific to 9.2.0.6, not 9.2.0.4..
    Thanks, Joe

    Hi all,
    I have created a tree with over 20000 entries but I dont know how many nodes there are. I am using APEX 3.0.1.
    Whenever EXPAND ALL ist pressed I am getting this error:
    Unexpected error ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I am also using DIV together with javascript in the tree region so that the selected node is always on top of the page.
    like you mentioned. Does this seem like a bug too you?
    Regards,
    Denise

  • Disable collapse of top-node.

    hi, i want the top-node to be collapsed at the start, but automatically, it starts expanded. thank for your helpings.

    If you have a single child node of the root node and then use setRootVisible(false) then you may get the effect you want.
    Cheers,
    Huw

  • When using numericupdown to expand/collapse treeView nodes. Why the collapse part is not working ?

    I have a treeView in my form1 designer. The treeView variable name is: treeViewMS1
    When i'm running my program the treeView is automatic expanded to level 1:
    Now if i click on the numericUpDown and change the value to 2 then:
    So the expanded part is working fine when i change of the numericUpDown by one up the expanded is working fine.
    Now when it's on level 2 and i change the numericUpDown back to value 1 that's level 1 instead get back to my first screenshot Expanded level 1 it's getting back to the root level 0.
    and i want that the collapse part will move only one level back but it dosen't matter if i'm on expanded level 2 or 3 or 5 it will allways jump to 0 to the root.
    This is the numericUpDown value changed event:
    decimal oldValue;
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    if (numericUpDown1.Value > oldValue)
    ExpandToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    else
    CollapseToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    oldValue = numericUpDown1.Value;
    ExpandToLevel method:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And CollapseToLevel method:
    void CollapseToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Collapse();
    CollapseToLevel(node.Nodes, level - 1);

    I solved it this way:
    I solved it like this: In the Form1_Load event i did:
    SetToLevel(treeViewMS1.Nodes, 1);
    In my case i wanted it to begin by default in level 1.
    Then in the numericupdown1 changed value event:
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    SetToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    Then the method SetToLevel:
    void SetToLevel(TreeNodeCollection nodes, int level)
    foreach (TreeNode node in nodes)
    node.Collapse(false);
    ExpandToLevel(nodes, level);
    And last the method EXpandToLevel:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And now it's working perfect like i wanted it to work. When changing the numericupdown value it's changing the node tree expand/collapse levels.

  • Use Message Mapping to repeat top node and split Message

    I am currently using XSLT Messaging to do majority of the mapping. I have two issues that remain, I need to repeat the top node for each or its child elements and split the message.
    <Sensor xmlns="namespace">
      <Observation>
        <XML>Some Data</XML>
    </Observation
    </Sensor>
    1. Can it be done in XSLT? I posted a thread asking for help on this. Where I would need to repeat the Sensor tag for each observation. If this is possible then I will able to split the messages at the HTTP adapter used for the target system.
    2. Can Message Mapping be used. Using the same xsd on both source and target systems, Will sensor repeat if set to 1:n and observation set to 1:1. In source it is Sensor 1:1, Observation 1:n.  If this works then I can use a BPM to shoot out individual messages using a for each.
    Any help is greatly appreciated. I am fairly new to XI as this is my first major project. Thanks

    Source File                                             Target File
    > XI (XSLT) -
    > Each observation as one file  ---> Out via HTTP
    Batch of all orders    
    Source File
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <receipt>
      <manufacturer>Manufacture Name</manufacturer>
      <manufacturer_gln>999999</manufacturer_gln>
      <transfer_recipt>0123456</transfer_recipt>
      <prod>
        <product_GTIN>99999999999999</product_GTIN >
        <product_LOT>123456A</product_LOT >
        <production_date>20090131</production_date>
        <expire_date>20120131</expire_date>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>001</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>01</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089211</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089212</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089213</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>02</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089214</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089215</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089216</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>002</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>03</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089217</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089218</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089219</carrier_barcode></carrier>
              </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>04</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089220</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089221</carrier_barcode></carrier>
               </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
      </prod>
    </receipt>
    Target File
    <?xml version="1.0" encoding="UTF-8"?>
    <pmlcore:Sensor xmlns:pmlcore="urn:autoid:specification:interchange:PMLCore:xml:schema:1" xmlns:pmluid="urn:autoid:specification:universal:Identifier:xml:schema:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:autoid:specification:interchange:PMLCore:xml:schema:1 cases.xsd">
      <pmluid:ID>GPO_AI_LU_DC</pmluid:ID>
      <pmlcore:Observation>
        <pmlcore:DateTime>2008-10-13T17:53:00.265+02:00</pmlcore:DateTime>
        <pmlcore:Command>PACK</pmlcore:Command>
        <pmlcore:Tag>
          <pmluid:ID>01</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZITEM_COUNT">16</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
        <pmlcore:Tag>
          <pmluid:ID>0108699547010089211</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
         </pmlcore:Observation>
         </pmlcore:Sensor>
    I have the XSLT Mapping working to transform data from Source file to target File. But my target file has multiple Observations that need to be split into the Sensor, Observation structure.

  • JTree - Create nodes and expand

    Hi there,
    I have made a file-tree from the swing jtree, where My Computer is the root, then C:/ etc, Program Files, etc...
    The problem I'm having is that I'm trying to open up a node if a link has been clicked. For example.. if A shortcut to C:/Program Files/Pictures/pic.jpg was clicked, then it should go the C:/ node, create it's children, and expand it, go to Program Files node, create it's children and expand it, etc until pic.jpg is visible.
    TreePath x = new TreePath(ta);
    TreePath y = x.pathByAddingChild(myComputer);
    TreePath z = y.pathByAddingChild(programFiles);
    tree.expandPath(y);
    The above is the general idea of what I'm trying... I can't see why this doesn't work. (ta is empty root folder, then myComputer and programFiles are other treenodes).
    Any ideas?
    Thanks.
    David

    Create your TreeModel using the FileSystem as the underlying data store, as shown in this article:
    http://java.sun.com/products/jfc/tsc/articles/jtree/
    The use JTree#setAnchorSelectionPath when the user clicks on a file to select that item in the tree. Also look at JTree#scrollPathToVisible if your JTree is in a scroll pane.

  • Parent of Top node is getting added as Orphan node

    Hi ,
    When I am trying to import the below test import file in DRM 11.1.2 -
    [hier]
    Product|P000000
    [node]
    P000000
    [relation]
    P000000|None|Total Product|True
    the parent of top node P000000 which is 'None' as defined in System preferences , is getting added as an Orphan node. We dont want any orphan node to be created.
    Can someone please help in avoiding this.
    Thanks for the help in advance!!
    Edited by: user10979332 on Jun 26, 2011 9:16 PM

    Hello
    Try to exclude the [relation] section:
    [hier]
    Product|P000000
    [node]
    P000000|Total Product|True
    This will allow you to create the Hierarchy with TopNode and to fill the attributes of TopNode.

  • Action Script to add a parent node value to the top node

    I need to add a new parent node value to a hierarchy for the top node.  The action script parameters to add a node is "Add|Version|Hierarchy|Node|Parent Node|Leaf property".  I am at a loss on what to do for the top node since there is no Parent Node above this top level, but the parameters require it.  I have reviewed both the user manual and admin manual, but did not find any assistance.  Can anybody help me?
    Thanks!

    You have the answer with you, don't get confused between Parent Node and Top Node in this context, while Adding a new node your Top Node will become your Parent Node.
    "Add|Version|Hierarchy|Node|Parent Node|Leaf property"
    If you still have confusion, simply do the below,
    1. Right Click on your Top Node and Add a new Leaf or Limb Node manually
    2. Once added, go back to Home -> Script
    3. Select Source Type as Transaction Log and then select the newly added node and Load
    4. In the bottom select Script -> Download -> Download as Action Script.
    5. Open in a Notepad and leverage it to create your new script.

  • DTN - Hide top node

    I have created my site navigation and it has four nodes
    NODE ONE contains two nodes -> NODE TWO AND NODE THREE
    NODE TWO contains one node -> NODE FOUR
    NODE ONE is a second level navigation item so the user would click the NODES Tab and see NODE ONE Tab displayed.
    In the DTN I would like the user to see only NODE TWO (with expand icon) and NODE THREE I don't want NODE ONE to appear for a third time (as it already appears on the second level navigation and the page title bar.  How do I set the Navigation up to ignore the top node?

    Hi
    What the node one, two, three and four is?
    Roles? Workset? Page?

  • Collapse All and Expand All functionality in Tree

    Hi All,
    I am using TreeByNestingTableColumn element to display the tree hierarchy .
    Does anyone knows how to implement Collapse All and Expand All functionality for this tree (if someone have sample code for these functionality then it will be great for me) ?
    Thanks in advance.
    Ravi.

    Hello Ravindra Sahu,
    Code for EXPAND ALL button:
    *step 1:Access node
      lo_nd_tree_hierarchy = wd_context->get_child_node( name = wd_this->wdctx_tree_hierarchy ).
    *step2: Extract all the table entries from node which is binded to table
    lo_nd_tree_hierarchy->get_static_attributes_table(
        IMPORTING
          table = lt_tree_hierarchy ).
    *step3:set element attribute Expanded to abap_true
        loop at lt_tree_hierarchy ASSIGNING <ls_tree_hierarchy>.
          <ls_tree_hierarchy>-expanded = abap_true.
        endloop.
    *step4: Finally the updated data needs to be binded.
      lo_nd_tree_hierarchy->bind_table( lt_tree_hierarchy ).
    Code for COLLAPSE ALL button:
    *step 1:Access node
      lo_nd_tree_hierarchy = wd_context->get_child_node( name = wd_this->wdctx_tree_hierarchy ).
    *step2: Extract all the table entries from node which is binded to table
    lo_nd_tree_hierarchy->get_static_attributes_table(
        IMPORTING
          table = lt_tree_hierarchy ).
    *step3:set element attribute Expanded to abap_true
        loop at lt_tree_hierarchy ASSIGNING <ls_tree_hierarchy>.
          <ls_tree_hierarchy>-expanded = abap_false.
        endloop.
    *step4: Finally the updated data needs to be binded.
      lo_nd_tree_hierarchy->bind_table( lt_tree_hierarchy ).
    Please don't forget giving REWARD points...:-)
    Edited by: Bharath Komarapalem on Jul 11, 2008 9:17 AM

  • Is it possible to remove collapse all and expand all links in HGrid.

    Hi All,
    Is there any way to remove collapse all and expand all links which HGrid shows by default, the reason is when the user clicks on collapse all it will collapse to root node but my requirement is it should collapse untill 2 node level.
    Thanks
    Babu

    From the javadoc of OAHGridBean
    ======================
    void setExpandAllEnabled(boolean expandAllEnabled)
    Indicate whether the "Expand All" (and "Collapse All") links should be rendered for the HGridBean.
    Cheers,
    Ganesh

  • Is there a way to collapse and expand a whole table within a sheet?

    I have sheets where I'd like to keep many tables all within the same page, and each table has quite a bit of data in it. Is there a way that I can collapse a table and then expand it to accomodate the need to stay within a page? Also, changing the content scale is not a solution I'd like to go with as it would require me to keep all tables visible-- I'd like a cleaner look to each sheet.

    Hi David,
    Welcome to Numbers discussions.
    In a table you cannot drag up or to the left past the final occupied cell. Of course you can make the table bigger.
    Yes that would be a nice feature for sure.
    The folks on these Discussion boards are as yourself end users not Apple employees. Please accept my following suggestion: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". This makes your request known to the Pages team directly. I've sent many as well. I've sent many as well.
    Let's hope that the next version of Numbers (iWork) will incorporate many of the requested enhancements.
    Thank you in advance for doing that.
    Sincerely,
    RicD

  • Function module to find the top node in the Profit Center standard hierarch

    Hi,
    Please let me know the function modules/Tables to do the following.
    1. To find the Top node in the Profit center standard hierarchy which is displayed via KCH6N Transaction.
    2. To read/retrieve standard hierarchy displayed in KCH6N Transaction.
    Thanks in Advance,
    Madhuri.

    Hi Madhuri ,
    have a look @<b>SETLEAF</b> or SET* in se11 , u can get the Top Node by putting the Logic like this
    ex: i am searching for Top Node of A3
    <b>select setname from setleaf where  valfrom eq 'A3'.</b>and for that selected setname u have to do one more
    loop.
    <b>select setname from setleaf where  valfrom eq 'A2'.</b>
    then only u will net Node A1.
    this is a sample code only , dont check F2.
    let me know if u want more inputs of Set Ids.
    regards
    prabhu
    [email protected]
    NjoySAP

  • Top node of XML message needs value assign to it - how to do it ?

    Hi,
    I have an issue where the top node of my XML message needs to have a value assigned.
    i.e.
    <REPORT>xxxxxxxx
    <ID>xxxxx</ID>
    <CUST>xxxxx</CUST>
    </REPORT>
    Is this possible using standard graphical mapping or will I need to resort to XSLT mapping to achieve this ?
    Cheers
    Colin.

    Hi,
    At the beginning I thought that this is not well-formed XML message, did a test in XMLSpy and it looks like it a well-formed XML message.
    > <REPORT>xxxxxxxx
    > <ID>xxxxx</ID>
    > <CUST>xxxxx</CUST>
    > </REPORT>
    I created XSD that describe this message, imported into IR, did some basic (one-to-one) message mapping (output and input structures are the same).
    Output message:
    <?xml version="1.0" encoding="UTF-8"?>
    <REPORT>
       dfasdf
       <ID>12</ID>
       <CUST>dfff</CUST>
    </REPORT>
    After mapping I got:
    <?xml version="1.0" encoding="UTF-8"?>
    <REPORT>
       <ID>12</ID>
       <CUST>dfff</CUST>
    </REPORT>
    Looks like you should rather forget the graphical mapping
    Jakub

  • Collapse and expand mobile menu?

    Can someone please tell me how to make a close all and expand menu for mobile sites in Muse. I did find some information about this on the web, but I cannot find the "expand and collapse"  tick box in CC 2014 (latest version). I have spent ages trying to find this and could do with help asap.
    Thank you.

    Hi,
    In order to create a Close all and expand Menu for your mobile site, I would suggest you to use the Accordian widget available in Muse. You can make the 'label' of the accordian as the link to your top level pages and you can add links to the child pages under the content area inside each label. This would help you create the kind of effect that you want.  Also, dont forget to check the box which says "can Close all" in the options of the accordian widget.
    Hope this helps
    Regards,
    Rohit Nair

Maybe you are looking for

  • Task status  report in cProject 3.1

    Hi, I want to extract task status report from cProject 3.1. Report should contain task name, status, start date,end date , effort etc. Thanks in advance Shiv

  • Setting read-only property for a RTL inputtext.

    HI, I am using JDeveloper version 11.1.2.2.0. In my fusion web application, in the af:inputtext field, if the language is, RTL or LTR the value is displaying according to that. Suppose, if it is English, the value is displaying left to right. If it i

  • A question about JScrollPane

    Hello, I would like to create a Swing window that its size is (700,500) and it stores data that is recieved from user. The size of input from user is unknown, so I want that there'll be a scrollPane in axes X and Y. The problem: scrollPane doesn't fi

  • 802.1x log out hang

    I've got our SL server running as a Radius server authenticating against our AD and all appears fine. Clients log in, get an IP and then let the user in. However when a user logs out the login window hangs with the spinning wheel until the machine is

  • Safari keeps crashing in mountain lion

    i have mountain lion installed on my macbook..version 10.8.2. from the moment i have upgraded from snow leopard to mountain lion..safari keeps crashing almost every time i start using it.. any suggestions??