ADG - How to suppress some folders?

I have an XML data tree I'm displaying. Some leaf nodes have child data that is used to drive a column display attribute. I don't necessarily want that data to be viewed with a folder icon.
That might be enough info. But I can't help be more verbose. Think of a debugger. A tree of structs. Each struct has member data. We have a snapshot of this member data over time and a slider to scrub through it. The leaf node has an array of data that we wish to drive it's value. But we don't want to see that as a folder.
for example:
struct Foo
     int var;
Foo foo;
foo.var = 1;
foo.var = 2;
on frame 1 would display as
(+) foo Foo
  |-  var   int   1
not
(+) foo Foo
  (+)  var   int   1
    |- 1
    |- 2
I have a custom item renderer for the value field that is driven by the array. That works fine. But I can't suppress the folder icon ( and expandability ).
Ideas?

What you're trying to do is deceptively simple. Just remove the columns from the group.
For example, the MXML for your
(+) Foo
     (+) foo
          |- var 1
structure would look something like this:
<mx:GroupingField name="Foo">
     <mx:summaries>
          <mx:SummaryRow summaryPlacement="group">
               <mx:fields>
                    <mx:SummaryField label="Foo" dataField="Foo" operation="SUM"/>
                    <mx:SummaryField label="var1" dataField="var1" operation="SUM"/>
               </mx:fields>
          </mx:SummaryRow>
     </mx:summaries>
</mx:GroupingField> 
<mx:columns>
     <mx:AdvancedDataGridColumn headerText="Foo" dataField="Foo" width="100"/>
     <mx:AdvancedDataGridColumn headerText="var" dataField="var1" width="100"/>
</mx:columns>
To get rid of it, simply do this to your mx:columns array:
<mx:columns>
      <mx:AdvancedDataGridColumn headerText="var" dataField="var1"  width="100"/>
</mx:columns>

Similar Messages

  • How to suppress some lines from printing

    Dear all
    I have a problem of suppressing some lines in a character mode report depending on some condition. E.g. say I have 5 lines per record to be printed. Say Name, Add1, Add2, Add3, City. Now depending on a condition, I don't want to print Add2, instead Add3 and City should move upward one line resulting only 4 lines in the report. Like wise there may be only two lines in the report, Name and City only.
    How to accomplish this task? Thanks in advance.

    Easy in to do it in the query:
    select rtrim(decode(adr1,null,null,adr1||chr(10))||
                 decode(adr2,null,null,adr2||chr(10))||
                 decode(city,null,null,city||chr(10))||
                 country,
           chr(10))
    from address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • How to hide some folders in a woprkspace from some external users?

    Hi
    We manage a workspace that has both Internal external users. We have a requirements in a way that external users can only see some folders they have access to. What is the best way to accomplish.
    I reviewed an article in "How to" section which describes how to use ACLS to hide some folders from certain users (https://beehiveonline.oracle.com/External_06_howto.html).
    But this process is cumbersome as we need to go to exh folder and revoke permission for selected users. And also if we add any new folders to the workspace that folder will default be accessible to the external users also. We want by default any new folders do not have access to this group of users except the ones we provide access to.
    How can we do it?
    Regards
    Ram Uppu

    Ram,
    We have a new process which is much more easily used - the https://beehiveonline.oracle.com/External_06_howto.html page has been upfdated to show the new process.
    phil

  • How to suppress some IOS syslog events with ESM

    Hello folks,
    I've been advised to look for help here at NetPro forum by Cisco TAC engineers.
    This is the situation here with 80+ customer routers. They have two VLANs behind the router at every location/site and practically identical setup for hosts at each site. These hosts generate a lot of traffic that is blocked/denied by routers and we don’t want to see syslog events created after this traffic.
    I have created one message discriminator that suppresses syslog from generating an event when the traffic from a particular host is dropped by the router.
    This is how it looks:
    logging discriminator STOP-POS msg-body drops 10.43.66.100
    logging buffered discriminator STOP-POS 256000
    logging host 192.168.14.4 discriminator STOP-POS
    logging host 192.168.14.5 discriminator STOP-POS
    Now I want to add more discriminators to filter at least two more events, e.g. I don’t want to collect events when the router drops broadcasts
    101511: .Aug 30 23:10:48.737: %SEC-6-IPACCESSLOGP: list vl3-in denied udp 10.5.35.200(137) -> 10.5.35.255(137), 43 packets 
    101512: .Aug 30 23:10:48.737: %SEC-6-IPACCESSLOGP: list vl3-in denied udp 10.5.35.200(138) -> 10.5.35.255(138), 10 packets 
    101513: .Aug 30 23:10:48.737: %SEC-6-IPACCESSLOGP: list vl3-in denied udp 10.5.35.145(138) -> 10.5.35.255(138), 19 packets
    I tried to create two more discriminator  as follows
    logging discriminator UDP137 msg-body drops 255(137)
    logging discriminator UDP138 msg-body drops 255(138)
    but I couldn’t apply them to both buffered and trap logging as according to the TAC router and switching team IOS is limited with only one discriminator. They told me that I have to address it EEM team (I thought that Cisco calls it Embedded Syslog Manager) by the way.
    So, I’d appreciate if you please help me create a filter that will address the above said requirements

    Made again the discriminator with the pipe and strings without spaces. Something still is missing. Broadcast events are still logged. Below is the output of "show logging" on one of the routers. I think we can't break the IP address to match the way I did - 10.43.66.100|.255(137)|.255(138)
    535_OTTAWAMARKET(config)#do sh logging
    Syslog logging: enabled (0 messages dropped, 997 messages rate-limited,
    0 flushes, 0 overruns, xml disabled, filtering disabled)
    Active Message Discriminator:
    LOG-FLTR  msg-body       drops    10.43.66.100|.255(137)|.255(138)
    No Inactive Message Discriminator.
    Console logging: level errors, 122 messages logged, xml disabled,
    filtering disabled
    Monitor logging: level errors, 0 messages logged, xml disabled,
    filtering disabled
    Buffer logging:  level debugging, 13 messages logged, xml disabled,
    filtering disabled, discriminator(LOG-FLTR),
    0 messages rate-limited, 1171 messages dropped-by-MD
    Logging Exception size (4096 bytes)
    Count and timestamp logging messages: enabled
    Persistent logging: disabled
    No active filter modules.
    ESM: 0 messages dropped
    Trap logging: level informational, 112934 message lines logged
    Logging to 192.168.14.4  (udp port 514,  audit disabled,
    authentication disabled, encryption disabled, link up),
    11 message lines logged,
    0 message lines rate-limited,
    0 message lines dropped-by-MD,
    xml disabled, sequence number disabled
    filtering enabled, discriminator (LOG-FLTR)
    Logging to 192.168.14.5  (udp port 514,  audit disabled,
    authentication disabled, encryption disabled, link up),
    11 message lines logged,
    0 message lines rate-limited,
    0 message lines dropped-by-MD,
    xml disabled, sequence number disabled
    filtering enabled, discriminator (LOG-FLTR)
    Log Buffer (256000 bytes):
    112931: .Sep  6 07:16:26.150: %SEC-6-IPACCESSLOGP: list vl3-in denied tcp 10.5.35.200(2553) -> 64.94.18.139(443), 1 packet
    112932: .Sep  6 07:16:43.001: %URLF-4-SITE_BLOCKED: Access denied for the site 'updateservice.sonic.com', client 10.5.35.44:4328 server 144.198.28.150:80
    112933: .Sep  6 07:16:46.034: %SEC-6-IPACCESSLOGP: list vl3-in denied udp 10.5.35.200(138) -> 10.5.35.255(138), 1 packet
    112934: .Sep  6 07:17:46.035: %SEC-6-IPACCESSLOGP: list vl3-in denied udp 10.5.35.200(137) -> 10.5.35.255(137), 12 packets

  • I moved the mobilesync path where my backups should be stored. However, since then I moved some folders around which I think is the source of my error. I can no longer backup my iphone. How do I fix this?

    A while ago, I moved the mobilesync path so that it would stop trying to backup onto my C drive. However, since then I moved some folders around which I think is the source of my error. I can no longer backup my iphone It just tells me that the backup is corrupted. When i go to preferences, devices, and look under backups it is empty. How do I fix this?

    Howdy there mjspace1994,
    It sounds like you are unable to backup your phone after moving the mobile sync folder from its default location. If moving it back manually does not resolve the issue, I would next use either of the following articles to remove iTunes from your computer and then re install it. The articles outline the proper order to remove them in, and step by step instructions:
    Remove and Reinstall iTunes and other software components from Windows XP
    Remove and reinstall iTunes and related software components for Windows Vista, Windows 7, or Windows 8
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How to change massively in some folders the permissions owner ?

    Hi:
    We have some folders in SAP Portals 2004s (7.0) with a user which is the ACL permission owner and the Services permission owner of these folders.
    We need to change that owner massively in these folders to a group without using the user of that owner.
    How can we do that ?
    Thanks in advance,
    Felipe Mendivil Ortiz

    Hi Felipe,
    it seems that you have missed one thing (in terms of understanding).
    The System Principal is a special permission. It is like defining a super admin user who is able to do a lot of administrative things in the Knowledge Management platform. This special permission can be applied to every existing portal user (independent of the other permissions the user has) but also to a group or a role. All users assigned in that group or with that role will become a system principal and have the defined permissions.
    As you've mentioned above, when you create a new system principal definition you can type the following:
    1) Name - To be on the safe side I would use here the same UserId/RoleID/GroupID as in the User Name /Role Name /Group Name field.
    2) Change Resource Permissions - If you check this box, as mentioned in SAP Help, the defined user/role/group is able to change resource permission for every resource (document or folder).
    3) Service ACLs - Yes, here you define if the user/role/group should also be able to change service permissions for every resource (document or folder), or not.
    4) Set System Properties - This is for properties that are not set over the UI (Details screen) but can only be set via API. Sometimes you want to have a system user, which you define as system principal and give him this permission to user this user to set system properties.
    5) Unlock Permission - As mentioned in the SAP Help link, with this permission a system principal could remove document locks set by other users.
    6) Resource Permissions - Here you define what the system principal (user/group/role) is allowed to do in KM (besides the above defined status of changing permissions). If you selected only READ, the system principal will only be able to read ALL resources (files/folders) in KM. It should be clear what happens if you define READ, WRITE, DELETE.
    7) User Name - Type here the User ID of the user(s) that you want to give this system principal status. You can have here a comma separated list.
    8) Audit Actions - By checking this box, every time the mentioned user changes permission / unlocks objects / etc. this action will logged. You will be able to see it in the [KM audit|http://help.sap.com/saphelp_nw04/helpdata/en/44/a9b4e2f9677455e10000000a11466f/frameset.htm].
    You will not find a initial path definition, because you can not restrict a system principal on a special path. The system principal is defined global for ALL KM repositories.
    Hope this clarifies all your questions,
    Robert

  • I have am IPhone 3GS. I put all my pics in folders and now I dont know how to pull the folders off my phone on my laptop . I want to change up and delete some of them, Can anyone help

    I have am IPhone 3GS. I put all my pics in folders and now I dont know how to pull the folders off my phone on my laptop . I want to change up and delete some of them, Can anyone help

    You have to make the changes you want in the folders on your computer, then sync your new choices via iTunes.  iPhone, iPad and iPod touch: Syncing photos via iTunes, http://support.apple.com/kb/HT4236

  • How to change to Icon View for some folders but and List View for the rest

    I've had a bear of a time with View options in my folders. I'd like some folders to be in Icon view and other to be in List view. For what ever reason if I change the view option of one folder it changes the view option of EVERY folder. What can I do to make this happen?

    I was about to ask the same. I'd like to use icon view normally, but list view for folders containing lots of text documents. It looks like the solution is using View > Show View Options, change the folder to the view you want, and then tick the box at the top fo the dialogue for "Always open in __ view".
    Message was edited by: Adrian Bolt
    Message was edited by: Adrian Bolt

  • How to Suppress Header and footer.

    Hi,
    I have master-Detail report. Report prints One master and all detail records on a page. If detail records are more than to fit on one page, report prints master gaian on next page followed by detail records. For a master record If there are no detail records, I supress the master record also using format trigger.
    My problem is how to suppress the Header & Footer information that has to be printed on each page otherwise. When I suppress printing of master, All I get is Page header and footer. This happens only to the master records that fall in between. The pages related to last master records are not printed.
    How can I suppress printing of header and footer on blank pages.
    Thanks

    Thanks Santa & Rohit,
    As santa has suggested, I am already suppressing the printing of master record and its column headings based on the count of number of deatil records. If count of detail records = 0, I am suppressing master record.
    The problem is with Report header (TITLE etc.) and footer. I have to print TITLE and FOOTER on each an very page. So I have put these into Margins. The Count of master records at the report level, can be used to suppress the master records column headings and also TITLE and FOOTER. So if there is no master records, report does not print anything and that is fine.
    Problem comes when there are some master records with "No" detail records. Something like:
    -M1
    ----D1
    ----D2
    ----Dn
    -M2
    ----D1
    ----D2
    ----Dn
    M3
    M4
    M5
    ----D1
    ----D2
    ----Dn
    M6
    M7
    M8
    My report now produces pages for M1, M2 and blank data area (with Title and Footer) for M3, M4 and the M5. It suppresses pages for M6, M7, M8 etc. So if a master record has no detail records, but happens to be the last records that suppresses the TITLE and footer also.
    Any Ideas how to suppress TITLE/FOOTER for M3 & M4.
    Thanks

  • How do I create Folders in Mail?

    I recently migrated from Eudora to Mail. In the process I brought some Folders in which I filed mailboxes, in some cases there were folders in folders. All are there well and clear.
    How do I create a Folder into whch I can put more sub folders or mailboxes? I cannot find anything other than a Smart Mailbox Folder menu item and there is nothing in the Mail help Viewer
    Tks

    At the Mail.app menu bar, go to Mailbox and select New Mailbox.
    The following was copied from Mail Help under Creating Mailboxes.
    You can create as many mailboxes as you like to file or organize messages you want to keep.
    You can create a mailbox that's stored on your computer, one that's stored within a specific account, or a mailbox in an existing mailbox. A mailbox inside another mailbox is called a "subfolder."
    If you have an IMAP account, you can store received mail on your computer or on your mail server.
    Choose Mailbox > New Mailbox.
    To create a mailbox within an existing mailbox, select the existing mailbox before you choose Mailbox > New Mailbox.
    Use the Location pop-up menu to choose the location for the mailbox on your computer or an IMAP account (to store the mailbox on an IMAP server).
    Type a name for the mailbox.
    Click OK.
    To create a mailbox that contains another mailbox (or subfolder), type the name for the mailbox and the subfolder separated by a forward slash ("/"). For example, if you type "Apple Mail/Apple Newsletters," a mailbox named Apple Mail will be created, with a mailbox named Apple Newsletters inside it. (Note that if you create a mailbox this way, the enclosing mailbox can only contain other mailboxes, not messages. Such mailboxes appear white in the mailboxes list, instead of blue.)

  • How can i delete folders from my email on an iphone 5

    I have extra folders in my email maiboxes 
    i have a new iphone 5 i would like to delete the ones i do not need

    Hello sugar4464,
    Welcome to Apple Support Communities.
    It sounds like there’s an alert on your iPhone 5s that's related to iCloud storage and you want to know how to delete some photos to free up space on iCloud. The article linked below outlines the process for freeing up iCloud storage space by deleting photos and videos.
    iCloud: Delete photos and videos to save storage
    Also, you can find additional information about managing your iCloud storage here:
    Manage your iCloud storage - Apple Support
    So long,
    -Jason

  • How to suppress the HTTPS alert in a JSP page?

    Hi,
    I have a JSP page which is https,
    If I try to move from that page to another https site or refresh the same page ,
    I am getting the security alert ,
    How to suppress that alert
    Please help me out,
    It is more urgent ....

    I think it is possible because i have seen some sites in the internet which is https but I didnt see any alert for that
    Please help me out

  • How to suppress bars on chart and customize legend text

    I am new to Crystal Reports and have a couple of questions about bar charts.  I am using Crystal Reports XI Release 2 with Developer Studio 2005 (C# .NET) and SQL Server.
    I have a very simple report that sums up the values of 14 different database columns.  There is a also a bar chart to display the summed values.
    My questions are:
    1.  Based on some user preferences, I may not want to display all 14 values.  I found how to Suppress fields on the report, but cannot figure out how to prevent them from appearing in the bar chart as well.
    2.  Can I customize the names of the bars in the legend?
    Any help will be great appreciated!

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Finder takes long time to load some folders

    When opening some folders, the Finder takes a long time (30-60 seconds) to load all the files in it. Specifically, these folders typically contain 10-50 PHP files, each about 10 kb.
    I also notice that sometimes, after the files are listed, their icons are still loading and the "Kind" column is also still loading. (I've got the "Name", "Date Modified", "Size", and "Kind" columns showing; "Calculate all sizes" is enabled" while "Show icon preview" is disabled.)
    In addition, when opening a directory such as this and viewing Activity Monitor, I see that coreservicesd is at 70% CPU and Finder is at 30% CPU. After all the files have loaded, both services are still at these CPU levels for about 60 seconds afterward.
    Anyone know how I can fix this? I already did "Repair disk permissions" but nothing was found.

    For those who don't know, PHP files are just text files. Also, if it helps, I always use List view. If I switch to Column view, Finder is equally slow at listing files.
    In addition, I'm using TextMate to open PHP files. It's a pretty bloated and old piece of software these days, so perhaps it's somehow slowing down Finder from loading PHP files, perhaps due to QuickLook rendering or something? Also, one very interesting note: if I "Force quit" Finder to make it reload, the file listing will appear immediately. So clearly something is getting bogged down.

  • How can I keep folders in "Notes" deleted?

    I use 'Notes" alot and I have some folders I need to delete and when I delete them they come back a few minutes later. How do I permanatly delete them?

    If you have the artist information entered in iTunes, then they should already be organized like that on iPod.
    Go to music-->artists
    btabz

Maybe you are looking for

  • How do i set up controls to not change value when patches change?

    Just bought mainstage and want to set up the following  - piano or rhodes with mutes/volume available all the time, both with editable controls, PLUS hammond and pads available all the time too with mutes/volumes but using mainstage patches to select

  • Airport Express works with my Mac but not XP Pro

    Hello I have an Airport Express that I set up and use with my G4 laptop flawlessly. My Problem is trying to get my PC, running XP Pro, to play-nice with the Airport Express. The nutty thing is that this set up was working perfectly for months and the

  • Parameters for opening PDF files in a browser

    I read some of the posts about making a text link from an html page to a specific location in a pdf document in the browser.  I set up the parameters, as I understand it, according to the document "Parameters for Opening PDF Files." The result from m

  • Canon MX 922 Faxes not being picked up

    Having trouble with my new Canon MX922 not picking up all faxes.  Some come through ok, others it doesn't pick up.  I have it set for DRPD since my fax line is a double ring on my regular phone line.  My old Canon MX850 had no trouble with this same

  • Where can I get more filters, transitions and special effects for FC?

    I thought I heard that there is a third party company that has transitions and cool effects and filters I could use with final cut express. Does anyone know who they are, and if they are creditable? THANKS!