Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7827067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:42:27+00:00 2026-06-02T09:42:27+00:00

How to access Group Collection as key value pair. I need to access group

  • 0

How to access Group Collection as key value pair. I need to access group specific element of select or provided group . Please see code below

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <fx:XMLList id="defaultColumns">
        <ROW>
            <NAME>DESCRIPTION_</NAME>
            <COLUMN_CAPTION>Description</COLUMN_CAPTION>
            <COLUMN_WIDTH>40</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@action</NAME>
            <COLUMN_CAPTION>Action</COLUMN_CAPTION>
            <COLUMN_WIDTH>20</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@err</NAME>
            <COLUMN_CAPTION>Error</COLUMN_CAPTION>
            <COLUMN_WIDTH>5</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General</GROUP_DESCRIPTION>
            <Color>#FF0000</Color>      
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@sql</NAME>
            <COLUMN_CAPTION>Sql</COLUMN_CAPTION>
            <COLUMN_WIDTH>1</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>DESCRIPTION_</NAME>
            <COLUMN_CAPTION>Description</COLUMN_CAPTION>
            <COLUMN_WIDTH>40</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General2</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@action</NAME>
            <COLUMN_CAPTION>Action</COLUMN_CAPTION>
            <COLUMN_WIDTH>20</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General2</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@err</NAME>
            <COLUMN_CAPTION>Error</COLUMN_CAPTION>
            <COLUMN_WIDTH>5</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General2</GROUP_DESCRIPTION>
            <Color>#FF0000</Color>      
            <OPTIONS/>
        </ROW>
        <ROW>
            <NAME>@sql</NAME>
            <COLUMN_CAPTION>Sql</COLUMN_CAPTION>
            <COLUMN_WIDTH>1</COLUMN_WIDTH>
            <GROUP_DESCRIPTION>0. General2</GROUP_DESCRIPTION>
            <OPTIONS/>
        </ROW>
    </fx:XMLList>
    <mx:GroupingCollection id="colGroup" source="{defaultColumns}">
        <mx:grouping>
            <mx:Grouping>
                <mx:GroupingField name="GROUP_DESCRIPTION"  />
            </mx:Grouping>
        </mx:grouping>
    </mx:GroupingCollection>
</fx:Declarations>
<fx:Script>
   <![CDATA[
protected function groupTabs_changeHandler(event:IndexChangedEvent):void
{
        var xmlList:XMLList=XMLList(colGroup.getRoot()[groupTabs.selectedChild.label]);
                Alert.show(xmlList.toXMLString());
}
 ]]>
 </fx:Script>
  <mx:TabNavigator id="groupTabs" borderStyle="solid" width="100%" initialize="{colGroup.refresh()}" change="groupTabs_changeHandler(event)">
   <mx:Repeater dataProvider="{colGroup.getRoot()}" id="t">
     <mx:VBox  label="{t.currentItem.GroupLabel.toString()}" width="100%"></mx:VBox>
  </mx:Repeater>
  </mx:TabNavigator>    
 </s:Application>

I want to access group specific xmllist here any possibilty.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:42:28+00:00Added an answer on June 2, 2026 at 9:42 am

    Please read Displaying grouped data it shows how to manipulate group data
    also read Grouping object “a collection of grouped data”

    The Grouping class defines the fields in the data provider of the AdvancedDataGrid control used to group data

    In pasted code t.currentItem contains group specific collection under Repeater control

    Hopes that helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a group of CFC's that I access from two seperate Applicaiton scopes.
I want only a (faculty) group of users to be able to access a
I have a domain and a group of sub-domains that require authentication to access.
The authorize filter allows you to specified group of users that can access a
When I generate an Entitlements.plist the contents are like this <key>application-identifier</key> <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string> <key>keychain-access-groups</key> <array>
I am developing web application where users have collection of tags. I need to
I want to give group access to user www-data on ubuntu for a directory.
I have a POSH script that sets a user's access to a specific folder
I'm wondering if a complex query (multiple LEFT JOIN's, some sub-SELECT's, and some GROUP
We use ACLs to grant access to svn repositories. The users/groups are stored in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.