Menu option under recursive tree item/folder & checkbox in tree

Hi,
I want to present a checkbox next to an item or folder in a recursive tree.
I didn't see any option to do it so I tried to add a menu and a menu option type checkbox under the node item and note type.
The issue it does nothing.
Any ideas?
THanks,
Itay

Hi Akshay,
Everything mentioned here step by step:
0. You cannot use check-boxes inside tree, so you have to emulate them with images (or use Table with Tree-like master column -- not discussed in this message)
1. Create boolean attribute <b>isChecked</b> in node
2. Create calculated read-only string attribute cbIcon, write following in generated getter function:
return element.getIsChecked() ?
  "~sapicons/b_okay.gif" : "~sapicons/b_canc.gif";
or whatever images you are using.
3. Create & bind action onAction for TreeNode / TreeItem.
  -- apply parameters mapping in wdDoModifyView:
if ( firstTime )
  final IWDTreeNodeType treeNode = (IWDTreeNodeType)
    view.getElement("<your-tree-node-element-id>");
  treeNode.mappingOfOnAction()
    .addSourceMapping("path", "selectedElement");
  <b>Your action must define parameter with type of your node element and name <i>selectedElement</i></b>
  -- write the following code for handler:
selectedElement.setIsSelected( !selectedElement.getIsSelected() );
4. Bind cbIcon attribute as TreeNode / TreeItem image source, bind rest of attributes.
--Done.
VS

Similar Messages

  • How do I hide/remove the Invite People menu option under Share in Office 2013

    We have attempted to disable all the cloud features of Office 2013 using GPOs. However, the "Invite People" menu option under Share in the Office backstage view still shows up. Is there a GPO or reg key to remove or hide this option? See image
    below.
    Thanks very much

    Please try to use the Office Custom UI Editor to hide the the "Invite People" Task.
    http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2009/08/07/7293.aspx
    The idmso is ShareWithPeople (found it from the Office document http://www.microsoft.com/en-us/download/details.aspx?id=727)
    and reference to the following blog to write the XML:
    http://blogs.msdn.com/b/vsod/archive/2013/04/05/customizing-office-2013-backstage.aspx
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Issue:on menu options under Customizing

    Hi,
    I am new to SAP-HCM & learning it under IDES 6.0. I am not very clear about why we should create a project under IMG. Why not directly do the project customization work under the menu options in the Easy Access menu? Also, how to find if there Is any "Help" in the system to understand what is "Customization" ?
    Regards-Ganesh
    Moderator

    Good Question,
    Yes and No - It actually depends if it is 2 different projects - Ok let me give you an example
    If if you have an HCM project for the client in the first phase and the Second Phase is SD and MM
    You would certainly create 2 different projects if you are using the same DEV client  (which i asume you would to use to unit test the integation) so that when you transport your request, you would only transport request's by associating them to your project to have a better clarity on the requests sent.
    But if you have the same running in parallel , i assume you would not need to create 2 different project in the Customizing (it is basically the name of the project given my the client ex- Project Delta or Project HRM or ......) As a practice it has moslty been the same project.
    I hope this is clear !  ( If not , i hope probabaly some of the other experts may be in a better position to explain it to you )
    Regards,
    Regi Alex

  • Lost pdf optimizer menu option under advanced tool bar

    I was tinkering was a rather
    large pdf setting trying to reduce its size when adobe
    restarted and somesort installation process kicked in
    after that I lost the PDF Optimizer option which used to be visible under the advanced tool bar any idea what had happened there
    Help!

    Hey, It seems somebody won me this race , I'll be faster next time
    Regards.
    Robst
    Robst - CLD
    Using LabVIEW since version 7.0

  • Merge to HDR Pro is not in menu option under automate in Photoshop CS6.

    I am doing a Photoshop CS6 course.  One tutorial involves using "merge to HDR Pro" shioch shoule be in File - Automate.  I don't have this in my menu listing.  Does anyone know why this is and if it is possible to add it?  Thank you.

    Have you moved the application, or removed the scripts folder?

  • TS2756 Why can I still not find personal hotspot option under the cellular item after resetting my network?

    I still cannot find that option.
    My iphone is 4S and the iOS is 6.0

    To have that setting require that your carrier support Personal Hotspot & that such be properly provisioned on your account. Have you verified your carrier supports Personal Hotspot & it is provisioned on your account?

  • Menu options in the Tools toolbar in EBS (R12).

    Hi,
    I would like to create a custom menu option under the Tools toolbar on a specific form. Could someone point me in the direction of any good documentation on how to do this?
    Regards
    Carl

    Developers Guide http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120devg.pdf has info on this, specifically the SPECIAL1 to SPECIAL45 triggers and section APP_SPECIAL: Menu and Toolbar Control.
    Regards,
    Gareth

  • Sharepoint Audit report with all items under Data and items selected

    Hi all,
    We have to use following settings under SharePoint
    Configure audit settings.
    Configure audit settings => Data and Items => specify events to audit.
    Under specify events to audit. Select all the available options.
    Could you please answer my following questions?
    What are the recommended guidelines from Microsoft to use audit reporting for collaboration site specifically. More in terms of which settings to be enables for logging considering disk
    space usage.
    If we want to select all options under document and items section for auditing what are the recommendations from Microsoft to implement it. Mire in terms of infrastructure enhancements
    to accommodate the additional log space requirements.

    It's always very relative how much space to reserve for audit logs on SharePoint. It depends on so much factors... Only you can decide what is the best practice for your environment.
    A sharepoint farm should be well maintained as per :
    1. Microsoft's recommendations on : Topology, Hardware and Software requirements, Operational procedures and most important Capacity guidelines:
    http://technet.microsoft.com/en-us/library/ff758645(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx
    2. Organisation's IT policies and procedures : Farm Configuration, Workload and monitoring
    http://technet.microsoft.com/en-us/library/ff758658(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ee748651(v=office.15).aspx
    Also it might be useful to check  SharePoint Auditing Quick Reference Guide
    --- Jeff (Netwrix)

  • Open Recent menu option not working

    My open recent menu option under the "file" menu is greyed out and I can'g access my recent projects. Any ideas why this is? I'm using a Mac that has a few different users under different Logins on OSX Lion 10.7.4. I've heard that some preferences may need to be deleted but I don't want to mess up my system and delete the wrong file! Any help would be appreciated.

    Where are you saving to?
    Try repairing Permissions/Disk in Disk Utility.
    Peter

  • "Music" menu option disappeared from main iPod menu after software update

    I need some help. I own the 80GB Video iPod. After performing the most recent update to the iTunes software, I was notified of a software update for the iPod (v1.2.1) so I installed it on the iPod.
    iPod seemed to work fine until I decided to find music using the "Music" menu option on the main iPod menu... well, guess what, there is no "Music" menu option on the iPod. I have:
    Photos
    Videos
    Playlists
    Extras
    Settings
    Shuffle Songs
    ... no "Music" option.
    Any help is appreciated. Thanks,
    Clint
    Dell XPS   Windows XP  

    There is a "Main Menu" option under Settings, that allows you to customize what does and does not appear on the main menu. Just go there and turn "Music" back on.

  • Flex SDK 3.4 Tree Item Renderer Root Folder displays Tooltip for Child

    I have a Flex Tree that uses a custom item renderer.  The item renderer extends Tree Item Renderer and I add my button in commit properties (since the data is dynamic) and I use update displaylist to move it to the right position.  I set the button to be visible on rollover and make the icon invisible. On rollout I reverse that logic.
    When I have my item renderer add the button, it causes only one problem and it seems to be under certain conditions:
    - Single root folder for the tree
    - Upon opening the tree, the root folder displays the tool tip for the last child in the tree
    Any idea why the tooltip comes up?
    public function AssetTreeItemRenderer ()
                super();
                addEventListener(MouseEvent.ROLL_OVER, onItemRollover);
                addEventListener(MouseEvent.ROLL_OUT, onItemRollout);
                addEventListener(ToolTipEvent.TOOL_TIP_SHOWN, toolTipShown);
                addEventListener(ToolTipEvent.TOOL_TIP_CREATE, onCreateToolTip);
            // OVERRIDEN FUNCTIONS
             * override createChildren
            override protected function commitProperties():void {
                super.commitProperties();
                if(data is IAsset) {
                    if(playBtn === null) {
                        playBtn = new Button();
                        playBtn.styleName = "previewPlayButton";
                        playBtn.toolTip = "Play";
                        playBtn.width = icon.width + 2;
                        playBtn.height = icon.height + 2;
                        playBtn.visible = false;
                        playBtn.addEventListener(MouseEvent.CLICK, onPlayBtnClick);
                        addChild(playBtn);
                } else {
                    if(playBtn !== null) {
                        removeChild(playBtn);
                        playBtn = null;
             * override updateDisplayList
             * @param Number unscaledWidth
             * @param Number unscaledHeight
            override protected function updateDisplayList(unscaledWidth:Number,
                                                          unscaledHeight:Number):void
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                //Move our play button to the correct place
                if(super.data && playBtn !== null)
                    playBtn.x = icon.x;
                    playBtn.y = icon.y;

    You are not clearing tooltip if data is not IAsset

  • Muse trial version only has "close" for option under file menu and it's grayed out.

    Muse trial version only has "close" for option under file menu and it's grayed out.

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    Add code to userChrome.css below the @namespace line to make the hidden items appear again.
    *http://kb.mozillazine.org/userChrome.css
    *http://kb.mozillazine.org/Editing_configuration
    You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
    *ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    /* Always show menu entries with class="show-only-for-keyboard" */
    #navigator-toolbox menuitem[class="show-only-for-keyboard"]{display:-moz-box!important}
    </nowiki></pre>

  • HT5361 I am having trouble with closing the mail app so that I can shut off my laptop. the menu bar under file doesn't give me the option to quit.  that option is lister, but it is faded.  command Q will not close mail either.

    I am unable to shut off my laptop because I can not close the mail app.  Command Q doesn't work. While "quit mail" shows up under FILE on the menu bar, it is faded and not a working option.  Mail appears to be frozen.  I also can not pull up the mail page despite the app being open. Clicking on the mail icon does nothing and there are no available options under the menu bar.  Help, please!  Thanks!

    Try force-quitting (command-option-esc).

  • How can we use "tooltip " option in heirarchical tree item in oracle 11g?

    how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?

    hi user11973188
    how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?isn't it exist in the tree item's property itself... ?!
    Regards,
    Abdetu...

  • I have installed Copy HTML but cannot find it as an option under any Menu. Only copy is there.

    I have installed the Copy HTML plug-in but cannot find it as an option under any Menu. The only option is "copy". Where do I find this option so I can use it?

    Your screenshot shows that you have the page source visible, so you already have the source code including HTML code available to copy.<br />
    You should see the Copy HTML entry if you right-click a normally rendered HTML page.

Maybe you are looking for

  • Wlst script to change values for Logging.

    Hi, i am trying to write a wlst script to change attributes for the following.( i am new to wlst scripting) For all servers in a domain, Logging --> General --> Check Limit number of retained files --> Files to retain to different number. --> Log fil

  • Transaction in transaction

              Hi,           I have a session bean calling another session bean. The first bean starts a transaction           so the 2nd uses the same one. In case an Exception is thrown then the 1st bean           catches it and rollsback. What I need t

  • IPhoto 08 Library Bloat Mystery

    The iPhoto library seems to not be deleting something. Try this: 1. create a new library. it was 7.5MB empty 2. import a folder of pictures, but don't copy the pictures (i.e. photos will be referenced). In this case I imported 180 pictures which Find

  • Music issues with iphone 3gs and itunes

    I deleted a song from my library and computer but it wasn't removed from my iPhone 3GS, how do I get rid of it? I only have IOS 4.3.2 and don't want to download IOS 6 or jailbreak my iPhone. In addition, it was a ringtone that I downloaded and it isn

  • Loading large XML documents

    Hi everyone again :) Just sitting here trying to load a large XML document (it's ~13Mb). I know that's a massive XML document, but that's the way it is. The problem that I am having is that when I try to load the document I get an out of memory excep