Tree to be displayed in collapsed mode

Hi All,
I have designed a recursive tree UI element which is assigned to respective context element.
When I display  the tree, the first root node gets expanded to the end leaf node showing the depth of the tree.
The requirement is that the tree should be displayed in a complete collapsed mode.
I have set the expanded property to false and the property has children to false.
Could you please let me know how do I achieve the above functionality?
Regards,
Tanveer.

Hi,
Sounds like your context node is set to initialize the lead selection, causing your tree to lead select all the way down.  If I'm right, in your case, even after you set the expanded property to false, the tree expands itself because of the lead selection.  If you set the initializeLeadSelection property of your context node to false, you should be able to control the tree via the expanded property on the nodes.  You just need to make sure to lead select the root node.
By the way, the hasChildren property is not used for determining expanded or collapsed.  It is used for determining whether or not a node is a leaf.
Hope this helps,
David

Similar Messages

  • Balanced Scorecard overview screen-trees to be displayed in collapse mode

    When the user logs into Balanced Scorecard overview screen all the trees are displayed in expanded mode, need to display the trees in collapse mode by default. i.e Only nodes visible should be top level hierarchy nodes. The user should be able to decide which nodes he wants to expand.

    Hi RP,
    1. 0SEM_C02 can typically be used to store all the initiatives. Please note that initiatives can be linked to Project Systems in SAP R/3 and the project data can be automatically brought over to initiatives. Now it may happen that not all of those initiatives may be dependent on scorecards and there can be scorecard independent initiatives. The business content cube that you mentioned can be used to store and report on such inititives and their links to scorecards if any.
    2. What infoobjects to have in the scorecard cube depends upon your requirements and there is not a good or bad choice here. If you choose 0SEM_POSIT as one of the infoobjects, then you can easily access all the measures.
    3. The data read from BW or buffer also depends upon your performance requirements. If your situation is such that you must report the latest data in BW all the time, then reading from buffer only will not serve your purpose because the data will be read only from the buffer and not from the cube. In that case, you may have to fill the buffer often to keep the buffer data up to date. If you select read from Bw only, then it will bypass your buffer and for every small request, it will access the infocube(s). This may be performace drag depending upon the size of the data, performance of the related queries etc. If you choose read from buffer/BW with latest time stamp, then it will access BW only if latest data resides there. This may not be a good option if the performace is a prime concern. Ofcourse if you are using BIA, then you can safely read from BW.
    Regards
    Pravin

  • Tree view in collapsed mode by default

    Hello Experts,
    Could you please explain how to get a tree view collapsed by default?
    My scenario:
    When looking for a Marketing Segment, the system displays the result with a tree view in expanded mode, containing all the Profile Sets with their profiles and Target Groups.
    I would like to have the tree view in collapsed mode by default with only the Profile Sets displayed. Then, if need I would expand a given Profile Set to display its Profiles and Target Groups.
    Component: SEGAS_SEG
    View: RTSEG
    Thank you very much for your answer.
    Best Regards.
    Edited by: KenshiroHokuto on Apr 26, 2010 5:15 PM
    Edited by: KenshiroHokuto on Apr 26, 2010 5:16 PM

    Hi,
         Have a look at the context node SEG in the view RTSEG. You will see a method REFRESH. The following lines are responsible for the automatic expansion.
            IF search_roundtrip = abap_true AND lv_index < 20.
              lr_root->expand_node( ).
            ENDIF.
      Going by what you say, you will want to comment out these lines. If your component/view is not enhanced, enhance it and redefine this method. Copy the standard code and alter it. You need to alter this code to suit your requirement. For enhancing the component/view, you can find wikis in the CRM WebClient UI section.
    Regards,
    Arun Prakash

  • Tree Population in COLLAPSED mode

    Hi All,
    I have a "hirarchical tree" based on a group ...i am populating the tree using POPULATE TREE procedure but whenever it populates it populates in expanded mode which gives a odd look while populating...so can I populate the tree in COLLAPSED mode?
    thanks

    Put status = -1
    for eg:
    This query will show the tree as collapsed
    select -1,level,ename,null,empno
    from emp
    connect by prior empno=mgr
    start with mgr is null
    --(-1 indicates status)
    Following query shows expanded
    select 1,level,ename,null,empno
    from emp
    connect by prior empno=mgr
    start with mgr is null
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • HT3382 With a MacbookAir (mid-2012) using a mini DisplayPort to VGA adapter plugged into the Thunderbolt port, can you configure the external monitor to FULLY display in portrait mode yet keep the built-in display in landscape mode?

    With an 11"-inch Macbook Air (mid-2012) using a mini DisplayPort-to-VGA adapter plugged into the Thunderbolt port:
    Can you configure an extended desktop with an external monitor (20") displaying full portrait mode (1200 x 1600 resolution) and keep the built-in display in landscape?
    I'd like to see something like
    External monitor / Built-in display

    Yes, I can't see why not.
    Just give it a try and report back if you have a problem.

  • I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?

    I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?

    This could be from having restrictions enabled. Icons completely disappear when "restricted"

  • Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz.

    HP Pavilion h8-1360t, Windows7 home premium 64-bit,  AMD Radeon HD 7570 graphics card.
    error message: Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz. 
    I get the error message as soon as Windows opens and the desktop displays.  Then it goes black with that message.  I've been using the computer for awhile and I had it so that when I maximized a window it would go across both screens.  I have two monitors on the graphics card.  Somehow I changed the settings so that a program would maximize to one monitor or the other.   That is how I want it to work.  Maybe I activated HydraVision.  Now I have the problem when I start.
    Also now when I boot to Safe Mode I get the message that there is no AMD graphics driver installed, or it is not functioning properly.  I have tried to update it and the computer tells me I have the most recent version installed.   I would like to uninstall it and reinstall it, but I'm a little worried I won't get it installed and be without video.  Something like that happened to me once before years ago.
    Could someone tell me what I should do please?
    Thanks,
    Jim Allen

    HP support is here:
    http://www8.hp.com/us/en/contact-hp/contact.html
    In safe mode you should uninstall the driver, then try to boot normal again.
    Then check if driver was installed by win7.
    If not go go AMD website and download latest driver for your card.
    V.
    *** Say 'Thanks' with Kudos ***

  • My device only displays the Diagnostic Mode screen. Don't metter what I do. I've tryed to update itunes and reestore with latest software a few times, but it always comes back on the Diagnostic Mode screen. What's wrong?

    My device only displays the Diagnostic Mode screen. Don't metter what I do. I've tryed to update itunes and reestore with latest software a few times, but it always comes back on the Diagnostic Mode screen. What's wrong?

    Hi sayla,
    When you reloaded your software did you do a clean reload (deleting all data)? http://bbry.lv/bpv7DT
    If so, you might try doing a resettofactory using the following instructions. http://bit.ly/fMW9I4 This will reset to factory default.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Issue with Hgrid once it is in collapse mode

    I need to iterate Hgrid once it is in collapse and need to perform some validation for each row of Hgrid. OAHGridQueriedRowEnumerator is not working once Hgrid is in collapse mode. If Hgrid is in expanded mode OAHGridQueriedRowEnumerator is working fine.
    Please let me know how to get row handle once Hgrid is in collapse mode. Its urgent.
    Thanks,
    RV

    Have the Activity window open, and click the stop sign there. Of course, you'd better be quick even with it already visible. IMHO, if you do this sort of thing a lot, you need to wait at least 5 minutes before you send every message, to give you a chance to rethink. Don't rely on being able to get your mouse to a button before the message gets sent.

  • Turn off adaptive display for AC mode

    Hi,
    I am in curiosity of how I can turn off adaptive brightness display for external mode.
    http://i.imgur.com/nnDnd9Y.jpg
    I have already turned it off from Power Options in Control Panel. At first, this did not work alone to turn adaptive brightness off so I also disabled Display Power Saving Technology for battery mode from Intel Graphics Control Panel.
    This works like a charm for battery mode but adaptive display is still active when on external power and I could not find an option to disable it in Intel Graphics Control Panel, there isn't Display Power Saving Technology for external power.
    http://i.imgur.com/WtLe6kB.jpg
    So, how can I stop adaptive brightness for AC power before I go blind of the abrupt changes in brightness when I'm plugged in to the wall?
    Any help is appriciated.
    Thanks!
    This question was solved.
    View Solution.

    Hi @yldzanl ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP ENVY 15 Notebook and wanted to turn down the brightness on AC mode. On your first screen shot it shows you under the Edit settings. You will notice adjust brightness one for battery mode and the other for AC adapter, they are not the same.
    Change this to be the same for battery and save settings.
    Thanks should take care of it.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Cannot Display This Video Mode - Linux

    I just installed OELINUX 4.7 , was seeing big display, went to system config and tried to monitor display, and rebooted the machine, now the display screen is stuck with message
    Cannot Display This Video Mode
    Optimum resolutoin 1024*768 60Hz
    wondering how to fix it becasue i can't even go any where, how to enter linux with safe mode etc or any suggestion...

    Solved.......
    start in safe/maintenance mode
    ctrl+alt+f1
    Set the Dispaly vi /etc/X11/xorg.conf & adjust it like
    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1024x768" #changed from "1280x1024"
    EndSubSection
    EndSection
    #############################################################

  • HT5147 Can't see my track displays during performance mode. Help!

    I have two loops for a music set I'm playing. When Mainstage is in Performance mode I can't see the track titles. It plays but can't see anything. Is there a way to turn on the track display in performance mode?

    Hi
    Sounds like you have not mapped Screen Controls (waveform display, parameter display etc) to the current patch (or set) Loopback (or Playback) plugs?
    CCT

  • BDC not working in display no screen mode

    Hi exparts,
    I am facing a strange problem. I am creating or changing PIR ( transaction ME11, ME12) through BDC.
    when i am running it in 'Display all screen mode' It is running fine and creating or changing the PIR.
    But, when i am running it in 'Display no screen mode' It is not working. I have used call transaction of BDC and its OPTIONS parameter to export mode and default sixe. In the both cases the return message carry only success message.
    Please advice where i am going wrong and how to run it in 'display no screen' mode.
    Thanks in advance.
    Regards,
    abhshek sarkar

    DId you try  OPT-RACOMMIT = 'X' ?
    DATA: P_OPT TYPE CTU_PARAMS.
                P_OPT-DISMODE = 'N'.
               P_OPT-UPMODE = 'L'.
               P_OPT-RACOMMIT = 'X'.
    CALL TRANSACTION tcode  USING BDC_TAB OPTIONS FROM P_OPT MESSAGES INTO MESSTAB.

  • Can't get image to display in Library mode

    I Just istalled Lightroom 4.2 and imges will not display in Library mode. this LR 4.2 was an upgrade for LR4.1 which worked perfectly before the upgrade.  Now all I get in Libary mode is image data and a grey spot where the images should be. Any solutions for this?

    Duplicate thread: http://www.lightroomforums.net/showthread.php?17365-LR4-2-installed-but-problems-with-Liba ry-images-they-do-not-display!

  • BDC-Not getting inserted  when run in 'Display errors- (E)' mode

    Hi,
    I am doing a BDC for FS00 transaction through Call transaction method. The data is getting inserted into the table when i run the BDC program screen by screen through 'Display all screens - (A)' mode and is not getting inserted into the table when i run the BDC program through 'Display errors- (E)' mode.
    What could be the reason for it?

    If you have defined a non-existing screen or field, and error will rise and the transaction will be stoped....
    When your working on 'A' mode, you need to perform an extra "Enter" button press to get rid of that problem....So you better check your Batch catalog and add some "Enter's" when need it -;)
    Greetings,
    Blag.

Maybe you are looking for

  • Populate data from internal table

    Hi Experts, DATA: BEGIN OF it_tables OCCURS 0,           file(30),           tabname TYPE tabname,           END OF it_tables. DATA: ldo_data TYPE REF TO data,            ld_tabnam TYPE tabname. FIELD-SYMBOLS: <lt_itab> TYPE table.   ld_tabnam = it_t

  • Since update OSX 10.10.2  creative cloud is no longer accessible, does anybody know if there is a bigger problem? incompatible?

    Since update OSX 10.10.2  creative cloud is no longer accessible, does anybody know if there is a bigger problem? incompatible?

  • How to use Adobe flash with iPad?

    Is there a way to use adobe flash in safari with the new iPad? I am a new ipad user. Thanks

  • Create a Wi-Fi ac Network

    Hello, I would like to create a Wi-Fi network between MacBook Air (Mid 2013) and a Macbook Pro (Late 2013). Both have Wi-Fi ac, but when you create the network it is set up as a Wi-Fi n. - Is there a way to use the ac protocool between them? - Will i

  • Character count on Pages iPad?

    Hi to all i bought Pages to write mine review but I have found only the count of words and not for characters. There is  amethod to view them? If not pls tell Apple to made it 'cose in journalism (in Italy) the news and alla other are order by number