Bug with advancedDataGrid !!!  ("groupIconFunction"  not working properly)

Suprisingly, the following code doesn't set an icon for the tree's second level of items.
XML data is simplified here but it's only to make this simpler to read. (Just replace the path to your image file and run the thing. Have fun !)
<?xml version="1.0"?>
<!-- dpcontrols/adg/SimpleHierarchicalADGGroupIcon.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script>
    <![CDATA[
          import mx.collections.ArrayCollection;
        //  include "SimpleHierarchicalData.as";
         // Embed the icon for the groups.
                [Bindable]
                [Embed(source="assets/images/16/_hd.png")]
                public var hd:Class;
                [Bindable]
                [Embed(source="assets/images/16/_r.png")]
                public var r:Class;
         // Define the groupIconFunction callback function.
         public function myIconFunc(item:Object, depth:int):Class {
             if(depth == 1)
                 // If this is the top-level of the tree, return the icon.
                 return hd;
             if(depth == 2)
                 // If this is the top-level of the tree, return the icon.
                 return r;
             else
                 // If this is any other level, return null.
                 return null;
      ]]>
    </mx:Script>
<mx:XMLList id="dpHierarchyXML" >
  <Region Region="Southwest">
   <Region Region="Arizona" Territory_Rep="Barbara Jennings" Actual="38865" Estimate="40000">
   </Region>
  </Region>
</mx:XMLList>
    <mx:AdvancedDataGrid
        width="100%" height="100%"
        groupIconFunction="myIconFunc"
         displayItemsExpanded="true" >
        <mx:dataProvider>
            <mx:HierarchicalData source="{dpHierarchyXML}"/>
        </mx:dataProvider>
        <mx:columns>
            <mx:AdvancedDataGridColumn dataField="@Region" itemRenderer="itemRender"/>
            <mx:AdvancedDataGridColumn dataField="@Territory_Rep"
                headerText="Territory Rep"/>
            <mx:AdvancedDataGridColumn dataField="@Actual"/>
            <mx:AdvancedDataGridColumn dataField="@Estimate"/>
        </mx:columns>
    </mx:AdvancedDataGrid>   
</mx:Application>

Hi Green4ever,
At a very first sight I'd suspect UndoModes.FAST_ENTIRE_SCRIPT which, as you may know, can deeply scramble script steps, especially when a try...catch is in use.
Try to replace FAST_ENTIRE_SCRIPT by ENTIRE_SCRIPT and tell us.
@+
Marc

Similar Messages

  • First time working with 802.11n, not working properly?

    Hello,
    This is the first time I use 802.11n in my network there is only one AP1141 but the clients don't connect at 802.11n rates, instead they connect at data rates as low as 11 Mbps. At the begining they connect at 144 Mbps but immidiatly it decreases to 11 or 12.
    Many of our wireless clients in the company are Intel(R) WiFi Link 5100 AGN.
    Any comments?
    AIR-AP1141N-A-K9  
    AIR-WLC2106-K9
    6.0.182.0
    Let me know if more info needed?
    Thanks

    Hi George,
    So you suggest to keep only WPA2/AES?
    Regarding the coverage area keep in mind this is a really small 4 floor building with an AP floor floor, I installed only one AP1141 in my floor and kept the AP1131 in the other 3 floors, I might reduce the power to half since I don't need them working at full power unless I need coverage in the stairs in order to enforce roaming to IPPhones. Also, I don't want to bond channels on 2.4 because I read that as a recomendation in a Cisco's document (anyways I did not find how to do it in 2.4, wuld be a nice tip if you tell me how just in case) so 144 Mbps would be great as long as it works properly. I did not experienced these rate hoping until I enabled this AP1141.
    And yes most of the clients that reported issues are Intel (engineering team, haven't checked the rest yet).
    Regards!

  • Ios7.0.1 bluetooth connectivty with car stereo not working properly?

    I have updated my Iphone to Ios7.0.1  Before this update connection between my Iphone and car stereo was not an issue.
    Now the only way to play music through this device is to use the iphone. Select track, volume, Etc the hands free buttons on the sterring wheel do not work. I think you will agree this is not acceptable, convenient , or safe to drive. However the phone call option is working perfectly as before. My vehicle is a 6 month old Jaguar XF I have contacted them and they have inspected my car and have assured me the problem is not with my car audio equipment.
    I am a little reticent to do a factory reset on my iphone until all avenues of trouble shooting have been exhausted.
    Can anyone help, advise, or even been experiencing the same problem/

    I have a similar problem with my XF.  I upgraded to 7.0.2 and deleted all my paired devices in the car and on my phone. 
    I reapired the phone and all seemed fine - I could happily make/receive calls.  However the phone will NOT connect to the audio part of the XF and will not play any music or connect via Bluetooth to Audio.  I can see the phone and try and connect but I get the message that the Audio connection has failed.  The phone continues to work normally through the phone setup.
    Previously you could effectively connect a device as a phone and a device as an audio device (or the same device to both phone and audio) but this is no longer possible with IOS7 it seems.  My wife and my son also have iphones upgraded to IOS7 and they cannot connect to audio either. 
    I have tried rebooted, resetting, deleting all settings etc, etc but I am having no luck.
    ANy further help greatfully received.  My XF is a 63 plate and just over a month old.

  • SQL command (with XPath) does not work properly with JSP

    Hello everyone,
    I try this SQL command on Oracle SQL Developer,
    select filename,
    extract(xml_col, '/Operation/Records/tabDetail/Vehicle_Level/text()') as Vehicle_Level,
    extract(xml_col, '/Operation/Records/tabDetail/Vehicles_Closed/text()') as Vehicles_ID
    from ope
    where upload_datetime in
    (select min(upload_datetime)
    from ope
    where (TO_DATE(TO_CHAR(upload_datetime, 'DD-MM-YYYY'),'DD-MM-YYYY'))
    between TO_DATE('01-01-2008','DD-MM-YYYY') and TO_DATE('01-07-2008','DD-MM-YYYY')
    HAVING (filename like '60-1-%')
    GROUP BY filename);
    It works properly, the result is :
    FILENAME --------------------- VEHICLE_LEVEL --------------------- VEHICLES_ID
    60-1-OPE-1.xml --------------------- 3 --------------------- 60-1-VEH-43
    But when I try this command on JSP, the result is :
    FILENAME --------------------- VEHICLE_LEVEL --------------------- VEHICLES_ID
    60-1-OPE-1.xml --------------------- null --------------------- null
    I don't want "null" value, but I don't know where is wrong. Please help me.
    Thank you very much.
    Orange Jasmin

    If you know that the videos and music have been working before and that the ID3 tags are correct I suggest that you try to reinstall the phone software using Update Service.
    http://www.sonymobile.com/gb/tools/update-service/
    Let me know if these problems remains after reinstall.
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Acer Liquid E700 problem with headphone jack, not working properly.

    Here I am again, what a surprise! Reporting another problem with my 2 month old ACER LIQUID E700. Now the problem is, the headphone jack isnt working properly. When I watch movies, or play music with a headphone or earphone, the dialogue or conversations during movies , or the lyrics sang when playing music, can barely be heard. Also , everytime I connect my earphone it the E700, theres a fast ticking sound, which is faint but you can really hear it, and thats when I realized something was wrong. P.S This phone was never dropped or gotten wet. Im really starting to regret buying an acer phone.Any acer representatives out there who know whats going on?

    Well airstrike2014, I do know how it happened to me, it's weird but definitely how it happened, so I was downloading a electrical razor app to scare my friends (I know, it's stupid, but anyway) and the app works by vibrating at full power and playing a electric razor sound, but it would only vibrate (and the app description said that it would make some sounds too) and I tried maxing out my sound but there was really no way to make it play any sounds. I got tired of it 5 mins later and uninstalled thinking the problem was in the app or something, but I go watch a YouTube video right after and no sound was coming out either, even with the volume maxed out and with headphones, so I restart my phone, now sounds play perfectly when there aren't any headphones plugged in but when there are, it now happens what you described there, a tick sound lasting the first few seconds the headphones are plugged in and if I try to play any media it happens that "instrumental effect", other heaphones do the same, so it's obviously the phone.I mean, is it really possible that some kind of problem occurred while trying to vibrate and play sound at the same time? Well it was for me, the phone was fine until then.Sorry for the boringly long post haha

  • Why my music application in iphone 4 with IOS 5 not working properly??

    I have Updated mine to IOS 5 and my songs are not playing pproperly from the new Music App. They are syncing properly but not playing some songs,skipping some songs and showing one song but playing another.. Its annoying..Please help me.. Thanks
    Harish,..

    Hi all.
    Possible fix:
    Had this annoying issue, or similar. Songs on my iphone 4 would skip untilit found a song it could play, but often left up on the screen a different song to the one playing. It appeared songs hadnt been transferred or were missing causingthe phone to skip the songs.
    I heard that if you get a 'weird' beep noise this is the 'shake to shuffle' feature which can be turned off via Settings>Music.
    If you have a similar issue to mine, I read converting to AAC (right click song in Itunes and choose 'convert to AAC) could work, and did for me, but is time consuming and duplicates the song.
    What worked for me? Turning off 'convert higher bit rate songs to 128 kbps AAC' on the Devices>Your Iphone main menu (device summary page). This reloads all songs to the iphone and appears to fix the issue. I have checked a few songs I knew had issues and they now work, and I can get through 10+ shuffle songs (thats as many as I checked) without a skip.
    Good luck. Let me know if it works.

  • Single task flow with multiple tabs not working properly in UIShell

    Hi,
    I am using the UIShell Dynamic tabs concept. Here am creating the task flow with a fragment which am binding to the backing bean. if am trying to open the same task flow in two tabs.the getter of backing bean are calling for both tabs when am opening the second tab.
    Please provide me any solution or why backing bean getter is firing for the first tab even i opened the second tab.
    Reg,
    Brahma B.

    There are a few problems that I have noticed so far.
    Line #1 <!doctype html5> is not recognised, hence the page will revert back to HTML 4.01 Transitoinal. It should read <!doctype html>
    Line #51 (links to) style rules should be placed in the <head> element, not in the <body> element
    Lines #124, #159 and #188 all link to the same JS file. Delete two of them.
    Lines #126, #161 and #207 contain a constructor for the same widget. The former two should be deleted.
    Lines #190 and #208 contain a constructor for the same widget. The former should be deleted
    Although JS can be placed anywhere in a document, I tend to place all JS at the bottom, just above the ending body tag (</body>) unless the JS is required for rendering purposes in which case it should be placed where it is required. This way, you can keep check of what you have linked to and which constructors you have created thus eliminating the problems mentioned above.
    Also you might like to have a look at a collapsible panel group http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html. This will simplify the code somewhat.
    Gramps

  • ADF Table with browser zoom not working properly

    Hi All,
    I am using ADF Table to show data from database. I am using JDeveloper 11.1.1.4.0.
    When user uses browser zoom functions (i.e. Ctrl + or Ctrl -) for zoom in or zoom out, The UI of Table disturbed and columns are not in line.
    Here is the snapshot of disturbed table image http://i.imgur.com/07YfB.jpg
    I have tested it with Firefox and Internet Explorer and in both the cases if you zoom in the columns are not in line anymore.
    I have added *<accessibility-profile>large-fonts</accessibility-profile> into trinidad-config.xml* and
    tried but it gives me the same result.( Reference Oracle Docs http://docs.oracle.com/cd/E16162_01/web.1112/e16181/af_access.htm#BEIDFIIB )
    Can anyone suggest solution for how to solve this problem so that the columns will be is line when uses browser's zoom?
    Thanks in advance,
    Viral

    Hi,
    I am not using any kind of css for table.
    It is default skin and defalut table properties that ADF provides.
    - Viral

  • Flv with player skin not working properly

    When I place a flv into a flash movie and apply a skin and
    publish everything, it works fine on my local machine, but when
    uploaded to a server the player skin will not show up, yet the flv
    shows up and begins playing. Has anyone encountered this before? Is
    there a way to embed the skin in the swf instead of having it be
    external?
    Thanks in advance.

    For anyone else having this problem and arriving at this page from a search, the issue is most likely due to the way Flash loads in content. When just viewing locally, in the Flash Player, runtime-loaded content will be retrieved relative to the .swf's directory.
    In a browser, however, the Flash Player looks for content relative to the location of the HTML page holding the .swf, and not the directory of the .swf itself.
    One (arguably dirty) way of resolving this is to move your skin.swf to the directory of the HTML page holding the .swf; like so:
    Previous setup:
    /index.html
    /swfs/main.swf
    /swfs/skin.swf
    Resolved set up:
    /index.html
    /swfs/main.swf
    /skin.swf
    Another way would be to change the skin location parameter of the FLV player component inside Flash pro. But that is likely to break local playback. I'd love to hear of a more elegant solution to this issue.

  • How can I get help with an app not working properly?

    I just bought a 'learn Gujarati' app and the sound is so low I can hardly hear it even with the sound control on the iPad turned up as high as it would go. I have only had the iPad a few months - present from children, and I LOVE it and want to make most of it, thanks, Chrissy

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • Menu bar with rollover states not working properly

    I have a menu bar that I want to have as a certain size. The
    menu items that actually link somewhere are not showing up as the
    designated size (150x50px) but the one link that is not linked to
    somewhere else in the page looks fine (inventory).
    Can someone look at the css and tell me if there is something
    contradicting or if there is something I can do?
    THank you
    You can view the problem page at
    http://thebradfordcreativegroup.com/abs/indexold.html

    Sorry, I don't have the answers - but you need to see your
    site in IE6. It
    looks quite different - kind of bloated. Also, the "Quality"
    link doesn't
    have an arrow.
    "Inventory" as you say sits up at the top. FF is fine. Sorry
    I can't help
    though.
    Jo
    "joshuataylordesign" <[email protected]>
    wrote in message
    news:fqia5f$anb$[email protected]..
    >I have a menu bar that I want to have as a certain size.
    The menu items
    >that
    > actually link somewhere are not showing up as the
    designated size
    > (150x50px)
    > but the one link that is not linked to somewhere else in
    the page looks
    > fine
    > (inventory).
    > Can someone look at the css and tell me if there is
    something
    > contradicting or
    > if there is something I can do?
    > THank you
    > You can view the problem page at
    >
    http://thebradfordcreativegroup.com/abs/indexold.html
    >

  • Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Many, many thanks for both of you Todd and Rick.
    to Rick:
    I suppose you mean the Color Settings in Project Settings as follows:
    - Working Space: None
    - Match Legacy ... Gamma Adjustments checked ON
    But it does not correct the colors in effects. And checking or unchecking Make Movie/Output Module Settings/Color Management/Profile/Preserve RGB does not make any difference.
    to both of you:
    Those parts of the video image that does not have color effects are just fine. In these parts the color is preserved when reimporting to FCP. However, those parts having color effects (except Levels, as decribed earlier) have altered color results. So, only the parts having effects affecting color are misinterpreted in the image area. The mismatch is of course seen in AE, before making the movie.
    What I ment with "Color Management not working properly" is that (instead of "disabling" it) Color Management does not seem to be able to correct this "misinterpretation" or difference in effect handling between AE 6 and 10.
    So, would you have any solution for this problem?
    Again, many thanks for your fast replies!

  • ITunes not working properly with HP running Vista home premier

    My Ipod touch works fine on my windows XP pro system but does not sync photos and podcasts from my other computer at home: new HP Multimedia system running Vista Home Premier. It goes through all the motions but will only add a few photos from a file and they are partially corrupt. Many times it won't add any selected photos. Same with podcasts, they won't sync to the ipod. Have tried various USB ports.

    well, it is easy. i just wish it to sync in a manner that i do not get frustrated with it. it just does not like to sync when i open up itunes on desktop to update apps when they have updates. i have got to revert to plugging in the phone and ipad for it to sync and update apps. if you read through the whole thing you would have found it out. all i am saying is that itunes 10.6.1 and ios 5.1 have bugs and issues that make it hard for a iphone and ipad user to sync and update apps. itunes is slow to open with windows 7 as well as i did not mention that before but i have mentioned it in my other forum posts.
    summary:
    itunes 10.6.1, is slow to open on windows 7,
    syncing ipad and iphone does not update without plugging them in.
    wifi sync is not working properly or as it should, it doesn't recognize phone and ipad unless plugged in.

  • My garage band will not work properly with new lion upgrade..HELP

    My garage band will not work properly with new lion upgrade..HELP
    I have tried to open old session i have done in garage band and many of the effects and instruments I have used will not show up. The system seems to have a bug.

    If the graphical user interface looks broken, that is quite often a problem of corrupted user preferences - have you tried to remove the preferences file, as described in the FAQ
    http://www.bulletsandbones.com/GB/FAQPages/OddBallProbs.html
    Here is again the short version:
    Quit GarageBand, if it is running.
    Open your User Library in the Finder. It is hidden in MacOS X Lion, so use the Finder's "Go" menu:
    Finder > GO    hold down the "Options" key, until the library appears in the menu, select it.
    In the window that opens, open the folder "Preferences" and remove the file:com.apple.garageband.plist and com.apple.garageband.plist.lockfile
    Then try again to run GarageBand and download the loops.
    The preferences file stores all you user settings that you set using the "Preferences" panel in GarageBand, also the layout of the GarageBand window and the location of your recent projects. You will have to enter these settings again after removing the file.
    Regards
    Léonie

  • TS1702 When I update to IOS6 on my 4S Facebook does not work properly, the news feed never updates it only says no new storeys and shows a picture of an antenna. When I reset my phone and go back to IOS5 Facebook works fine. What's up with IOS6 ????

    When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my phone back to iOS 5 then it works just fine and I don't have any issues so there must be something wrong with iOS six that isn't letting Facebook load properly

    No I did not use any unauthorized methods for anything, I simply reset my phone back to factory.
    <Edited By Host>

Maybe you are looking for