Tree View Issue

I am parsing an XML file to construct my data model for the tree view.
Tree view is being constructed , but when I expand my root node, its children including their subchildren are shown.
Behaviour should be that on clicking a parent node , its immediate children should be shown i.e 1level hierarchy .
But in my case subchildrens of a  child are also shown on expanding my root node.(beyond 1 level hierarchy).
Is there any way to prevent showing of subchildrens on expanding parent node.
e.g
A->
    B->
        C
        D
In above example when expanding A , only B should be shown.But in my case C &D are also shown.
Also button used for expanding subnodes of B is shown as unexpanded .(i.e its not upside down even though its children are expanded)

Hi,
I believe it is just administrators that can view it in tree mode, unless somebody knows any different.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Workflow tree view issue.

    Hi,
    In workflow management screen i can see tree view of my entity dimension when i loged in with an admin account, but other users can only see flat list of entities. Is there a way to make it possible to see entities in tree view for other users as well? It doesn't matter for most of the users because they have access for only some of the entities but it's really frustrating for those who have access to most of the entities (we have 1200 entities).
    Thanks in advance.

    Hi,
    I believe it is just administrators that can view it in tree mode, unless somebody knows any different.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issue with Tree view

    Hello experts,
    I am facing a very strange issue with tree view.
    I have created a custom component with a tree view. All data are coming in the tree view. But the strange thing is that the data is not getting displayed on the screen.
    I am sure about the data because, when I am selecting a line from the tree, the data from that line is coming to the main screen.
    Please help!!
    Regards
    Debolina

    Hi experts...
    Any pointers to this issue???
    Please help!
    Regards,
    Debolina

  • Selection issue in tree view

    Hi.
    I have one strange issue in Z tree view. After selection of one row in tree view, I can next select only the rows the are below the selected row (doesn't matter if they are on lower or upper level). However I can't select the row that is displayed higher of the selected row.
    Anyone has an idea where could be the problem?
    Best regards.

    Tnx for answering. I checked if the entity is read correctly and in on_select event I get data OK. So I pass data to collection at the end.
    here is the code...
    METHOD eh_onselect.
    *CALL METHOD SUPER->EH_ONSELECT
    **  EXPORTING
    **    htmlb_event    =
    **    htmlb_event_ex =
       DATA: lv_event    TYPE REF TO cl_thtmlb_tree,
             tnode       TYPE REF TO if_bsp_wd_tree_node,
             bo          TYPE REF TO if_bol_bo_property_access,
             col         TYPE REF TO if_bol_bo_col.
       TRY.
           lv_event ?= htmlb_event_ex.
           typed_context->itgroupselected->collection_wrapper->clear( )  .
           IF lv_event->row_key IS INITIAL.
             tnode = typed_context->itgroup->get_node_by_index( lv_event->row_index ).
             lv_event->row_key = tnode->node_key.
           ELSE.
             tnode = typed_context->itgroup->get_node_by_key( lv_event->row_key ).
           ENDIF.
           tnode->selected = abap_true.
           bo = typed_context->itgroup->get_bo( lv_event->row_key )    .
           CREATE OBJECT col TYPE cl_crm_bol_bo_col.
           col->add( bo ).
           typed_context->itgroupselected->set_collection( col ).
         CATCH cx_sy_move_cast_error.
       ENDTRY.
    ENDMETHOD.
    maybe any suggestion?

  • Showing more than 10 Issues in Test Manager tree view

    I know the table shows them all, but is there a way to show more than 10 Issues in OTM Tree View? Seems cumbersome to keep having to click >>Next and <<Previous for each set of 10.

    Hi
    In OTM you can go to tools -> Options ->select Tree Preferences and edit Maximum Number of Displayed Nodes:
    Hope this helps.
    Alex

  • Issue in Tree View Enhancement

    Hello Experts,
    I have a Tree View and its related Context Node Class. Due to some requirement I need to enhance the same.
    I have done the following steps:
    1. Enhance the View which eventually enhanced the CTXT class  to Z_CTXT as well.
    2. I am trying to enhance the Tree View context node( say IBASE in my example).
    When I do the same, it is giving me an error saying that
    Method CTXT - CREATE_IBASE does not exist.
    Just to recheck I went to the parent class of Z_CTXT which is CTXT and found the method was very much there.
    Refer standard component ICCMP_IBASE  View: IBTreeResultList  Context Node: IBASE. My question is related to this context node.
    Thanks in advance.
    Best Regards,
    Vinamra.

    Hi Vinamra,
    When you enhance the view by default CTXT class also will be enhanced, when you enhance the context node then only system will create corresponding method create_"context node name" in your Z_CTXT class.
    Did you check Z_CTXT class for the create_ibase method, This class should have added this method with code like this
    model   = owner->create_model(
         class_name     = 'ZCLICCMP_IB_IBTREERESULTL_CN00' "cl_crm_ic_ibase_constants=>gc_ibtree_firstlevel_class "#EC NOTEXT
          model_id       = cl_crm_ic_ibase_constants=>gc_ibtree_node_name ). "#EC NOTEXT
      ibasetree ?= model.
    Best Regards,
    Dharmakasi.

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Please Help(How to get RadioButtons in tree View)

    Hi.
    Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
    I have a requirement like this i want to display RadioButton in tree view.
    I implemented tree same as which is given in sampleApplications.
    In this sampleApplications they implemted tree by using xml file.
    I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
    Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
    Please any one help me to come out with this solution.

    The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
    Do you actually have a class/object called Student?
    That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
    public class Student{
      String name;
      List classes;
      List subjects;
      List teachers;
      // appropriate getter/setter methods
    }Then you load each student, and populate its individual lists.
    That lets you pass the list of students, each student having its own lists for display.
    Hope this helps,
    evnafets

  • Links - How to reorder links within a folder. Also, how to make folders open in a tree view?

    I'm working on a portal in Sharepoint 2007. It appears that I can only have one set of "Links" on a page, so I am grouping my related links into folders. I'm having two issues with this...
    #1. I need to change the order of the links within a folder. When I try to Change Order under the Actions menu, I only get the main list of links, not those within the folder. How can I reorder links within a folder?
    #2. When I click a Links folder, all links go away, except for the links within that folder. Is there any way to make the Links list work in a Tree view?
    Sorry for the newbie questions, but I've not worked much in Sharepoint and I had this project dropped on me.  :(

    Hi,
    For Question #1,
    refer this link.
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • OER - Asset  Editor Tree View unfiled items

    I am using OER 11.1.1.5.0 and in the Asset Editor Tree View I can see general categories of 'Unsubmitted', Submitted' and 'Registered' with various sub-categoreis under each main category. I am puzzled why an Asset which appears in the Tree View initially as as Submitted / Pending Review / DAC Interface / CB Interface should, once all the submission, acceptance and registration stages have been completed, appear under Registered / Unfiled / CB Interface whilst another Asset should appear initially as Submitted / Pending Review / DAC Product / DAC Product - Portal appears, having undergone the same registration processes, as Registered / DAC Product / DAC Product - Portal.
    I cannot find any information in the documentation regarding 'Unfiled' assets nor can I see any difference between the Asset Types for these two assets which might cause this to happen.
    Can anybody shed any light on this issue ?
    Thanks
    Chris

    It works for me after I did a small tweak by as mine is a demo install.
    Idea - is to make an security exception for the OER url in Java control console
    Steps to do that :
    1.Go to the control panel and uninstall the 64 bit version of Java
    Open Programs and Features and select the 64 bit version of Java and select Uninstall.
    2.Open up the Java Control Panel
    Found as an option in the standard windows control panel
    3.Check the version by clicking on the About Tab
    If this is not what you expected you can go to java.com and download the latest version.
    4.Click on the Security Tab in the Java Control Panel
    5.Click on the Edit Site List button in the lower RH corner of the control panel
    6.Add your URL to be allowed
    Enter the full path that you use to access this such as https://myequallogics.com or the IP address if that is how you access it (as in http://192.168.0.100 - Https is recommended by Oracle.) Once complete hit OK. You should now see the exception on the security page.
    7.Close out of the control panel.
    8.You can now acess your site through the browser window.
    Thanks to Java error: Missing required Permissions manifest attribute in main jar - Spiceworks for letting me know this.
    regards,
    Sridhar

  • Tree View Creation error

    Hi,
    I have to create  tree view. I followed the stpes mentioned at the following link.
    Tree View
    I have created a Z-structure and created a table view in the component BT111H_OPPT component.
    While trying to modify the .htm page for the tree view, with the code mentioned at above link, I am getting following error.
    "node_tab is unknown. Not declared by a data statement."
    (see the line number 4 -  nodeTable = "<%= mytreenode->node_tab %>")
    I am using the following code.
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
      <chtmlb:configTree id                        = "configTree"
                         nodeTable                 = "<%= mytreenode->node_tab %>"
                         nodeTextColumn            = "NODE_TYPE"
                         onCollapseNode            = "nodeCollapse"
                         onExpandNode              = "nodeExpand"
                         onRowSelection            = "select"
                         onNodeClick               = "nodeClick"
                         ajaxDeltaHandling         = "FALSE"
                         headerText                = "Demo Tree"
                         allRowsEditable           = "TRUE"
                         selectionMode             = "SINGLESELECT"
                         table                     = "//mytreenode/Table"
                         tableLayout               = "AUTO"
                         visibleRowCount           = "12"
                         usage                     = "EDITLIST"
                         fillUpEmptyRows           = "FALSE"
                         personalizable            = "TRUE"
                         scrollable                = "TRUE"
                         noFrame                   = "X"
                         downloadToExcel           = "FALSE"
                         onClose                   = "closeTree"
                         onIncreaseSize            = "increaseTree"
                         nodeTextColumnDescription = "NODE" />
    </chtmlb:tableExtension>
    Please let me know where and how should I decalre it.
    Regards,
    Ansal

    Thanks Arun.. for the quick response...
    After view creation, I was directly following your second section of the thread....
    My issue is resolved....
    Hope to get further help for this object development.
    My requirement is add a new assignment block in opportunity screen which will show all the quotation,with their details, created for this opportunity and on click of each quotation id, all the items mapped to that particular quotation should be visible in same view.
    Thanks & regards,
    Ansal

  • Tree view clears after application switch

    Hi All,
    I am facing a problem with tree view. I have a dialog with tree view and I select an item. With dialog open I switch to some other application. When I switch back to InDesign, I see that tree view is empty. What could be the reason?
    Thanks,
    Pete

    Hi Ghubsch,
    When you run the Edit Page, 4000:4150, in Tree View, are any errors reported on your page, possibly in Firebug or an equivalent extension in your chosen browser? Are you experiencing this issue for every page in your application, or just one in particular?
    If possible, would you mind providing login credentials so that we can take a look at your workspace.
    Regards,
    Hilary

  • Java swing tree view interact with indesign javascript

    i have java swing tree view(program).if i execute my program it will all indesign script folder files in tree view. what is my problem is if i click the script
    i want to execute. is it possible to execute indesign javascrpt from java swing UI. could anyone tell me pls.

    Sorry if I did not make this clear:
    This is not an InDesign issue but a Java issue. Search, or ask in a Java forum for best practice to deal with the mentioned platform specific mechanisms:
    - inter process communication (AppleEvent or TLB/OLE )
    - command line / shell script invokation
    - a way to launch an JSX script - the equivalent mechanism to File.execute() in Extendscript.
    For example, if I ask Google for "Java TLB", the second hit takes me to:
    http://dev.eclipse.org/newslists/news.eclipse.tools/msg09883.html
    Eventually you can reuse the DLL and jar - I haven't read that far.
    Google for Java AppleEvent:
    http://developer.apple.com/samplecode/AppleEvent_Send_and_Receive/listing2.html
    Note the 1999 copyright, this is pre-OSX. Also located in a "legacy documents" area. Apple has the bad habit to deprecate/abandon most of their technology every other year, so I would not be surprised if it does not work any more and you'd have to write you own JNI, JDirect or JNIDirect glue ( I don't even know the current buzzword). Ah, further digging unveiled that they even dropped the successor which was named "CocoaJava".
    If Mac specific, maybe post your questions to this list: http://lists.apple.com/mailman/listinfo/java-dev
    Dirk

  • How to have a tree view for value node..

    Hi all,
    I need to display a tree view for a value node in web ui  just like a model node, for a custom view in a pop up. Please guide me  how to do this or let me know the process steps.
    Thanks in advance.

    Hi All,
    while debugging I found that in class CL_BSP_WD_CONTEXT_NODE_TREE , the method GET_T_TABLE the below code is not triigerring for the child node attributes ( to trigger the get method of attribute for value node).
    this call method is not triggering at all only for first coulmn its triggering ..
      LV_TN ?= ME->NODE_MAPPER->GET_NODE_OBJECT( <LINE>-NODE_KEY ).
        CONCATENATE 'GET_' COMPONENT INTO LV_METHOD.
        TRY.
            CALL METHOD LV_TN->(LV_METHOD)
              EXPORTING
                ATTRIBUTE_PATH = ''
              RECEIVING
                VALUE          = VALUE.
          CATCH CX_ROOT INTO LV_ERROR.
    I created the GETTER method inthe class CN01 and CN02. But those methods are not triggered in CALL METHOD LV_TN->(LV_METHOD). Even that class CN02 is having the  same methods. Those methods are already Implemented. May I know what was the reason Why those methods are not triggered ( getter method ). With out that Method data will not display in the Tree view. Can anybody tell me the reason why it is not happenning?
    .Please find the below .HTM code  as well.
    <chtmlb:configTree
                          actionsMaxInRow       = "5"
                       id             = "Table1"
                       nodeTable      = "<%= ZTREEVIEW->node_tab %>"
                       table          = "//ZTREEVIEW/Table"
                       noFrame        = "FALSE"
                       personalizable = "TRUE"
                       onCollapseNode = "NODECOLLAPSE"
                       selectionMode  = "MULTILINEEDIT"
                       onExpandNode   = "NODEEXPAND"
                       onRowSelection = "select" />
    Only one column was triggered another column did not get any value becasue of the above method call fail.. We are not restricted anywhere to display one column value in the output.   Even in Debugging I checked that LV_METHOD  is having the method name. CN02 class is also having the  same method, But it is not going into the method. It is coming out side. What could be  the reason I could not able to understnad.
    Please provide me some pointers on the issue....
    Thanks in advance..

  • Tree view Layout set resizing when accessed by URL

    Hi,
    We have a problem when we try to display a KM folder through the the ConsumerTreeList Layoutset. The height of the tree view is set based on the content in the right hand side, and ignores the left hand side of the tree. So for example if we have 5 items in the tree on the left hand side, and only 1 in the right hand side then the height of the tree view is really small (approx 1-2cm) and we have a scroll bar on the left hand side.
    This does not happen through a km navigation iview and never used to happen prior to us installing SP18.
    The URL we are using is below. Has anyone experienced this or know of a work around when using a URL? The same sizing issue occurs when previewing the layoutset through the User Interface --> Settings menu where you create layoutsets.
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/AMPS/Documents/Corporate?ConfigFileName=Navigation.xml&StartPage=NavigationPage&Validate=false&rndLayoutSet=ConsumerTreeList&layoutSetMode=exclusive
    Thanks
    Warren

    Hi,
    I have the same issue,
    and sometimes maybe related to an Exchange Problem.
    try reading this
    http://support.microsoft.com/kb/2212449
    and this 
    http://social.technet.microsoft.com/Forums/office/en-US/2da6c752-5221-4dbc-b1fe- 6aac0c059176/outlook-2010-moves-message-directly-to-deleted-items-how-can-i-dete rmine-why-this-has-happened
    for me the "AutomateProcessing" value on the mailbox was right,
    so I looked for an iPhone issue...
    let me know,
    bye,
    Fabio

Maybe you are looking for

  • MD04 release reject problem

    Sir in MD04 when i am converting planned order to production order i am getting following message also release is rejecting :- No valuation variant found for valuation area AMBA Message no. C6015 Diagnosis The system could not find a valid valuation

  • Where can I download CRX developer edition ? Im geting error message on clicking the Download link

    Where can I download CRX developer edition ? Im geting error message on clicking the Download link. Someone pls help me to download CRX. Thanks in Advance.

  • How do I find the jsp code behind an Oracle EBS page

    Hello, I have not worked with Oracle EBS in about 3 years and am somewhat new to JSP. I am trying to figure out how it all works and would like to go from the front end Oracle EBS screen to the source code jsp file. I was able to find the queries beh

  • Getting alternative colors in output list

    Hi Frnds,               I have to provide alternative colors for each row for my report which i m unable to do. Actually i am getting colors in my header but i need alternative colors for each row in my output. below i am providing my code. <code> RE

  • Transfer container elements in another workflow

    Hi again! I have the problem that i should like to copy container elements from one workflow to another (like an Image, the Scanagent...) Is their any easy way to do this? THX Regrads Phil