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 105887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:30:36+00:00 2026-05-11T01:30:36+00:00

I have an AdvancedDataGrid with a GroupingCollection and a SummaryRow. How do I display

  • 0

I have an AdvancedDataGrid with a GroupingCollection and a SummaryRow. How do I display the summary row data in bold? Below is my code:

<mx:AdvancedDataGrid width='100%' height='100%' id='adg' defaultLeafIcon='{null}'  >      <mx:dataProvider>         <mx:GroupingCollection id='gc' source='{dataProvider}'>             <mx:Grouping>                 <mx:GroupingField name='bankType'>                     <mx:summaries>                       <mx:SummaryRow summaryPlacement='group' id='summaryRow'>                         <mx:fields>                             <mx:SummaryField dataField='t0'                                  label='t0' operation='SUM' />                         </mx:fields>                       </mx:SummaryRow>                     </mx:summaries>                                     </mx:GroupingField>             </mx:Grouping>         </mx:GroupingCollection>     </mx:dataProvider>                   <mx:columns>         <mx:AdvancedDataGridColumn dataField='GroupLabel'              headerText=''/>         <mx:AdvancedDataGridColumn dataField='name'              headerText='Bank' />         <mx:AdvancedDataGridColumn dataField='t0'             headerText='Amount' formatter='{formatter}'/>     </mx:columns>              </mx:AdvancedDataGrid>     
  • 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. 2026-05-11T01:30:36+00:00Added an answer on May 11, 2026 at 1:30 am

    in the past when I have need to do this I had to put a condition in my style function to try and determine if it is a summary row or not.

    public function dataGrid_styleFunction (data:Object, column:AdvancedDataGridColumn) : Object   {         var output:Object;          if ( data.children != null )         {             output = {color:0x081EA6, fontWeight:'bold', fontSize:14}         }           return output;     }   

    if it has children, it should be a summary row. I am not sure this is the quote/unquote right way of doing this, but it does work, at least in my uses.

    HTH

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

Sidebar

Related Questions

Say I have this AdvancedDataGrid: <mx:AdvancedDataGrid id=grid height=384 width=100% styleName=aStyleName displayItemsExpanded=false groupItemRenderer=SomeRenderer draggableColumns=false defaultLeafIcon={null}
Introduction: I have an AdvancedDataGrid displaying hierarchical data illustrated by the image below: The
I have an AdvancedDataGrid(ADG) bound to an ArrayCollection. ArrayCollection is populated from my Oracle
I am using a GroupingCollection to bind my advanceddatagrid. I have used groupingcollection to
I have an AdvancedDataGrid (ADG) with a HierarchicalData dataProvider: <mx:AdvancedDataGrid xmlns:mx=http://www.adobe.com/2006/mxml dataProvider={__model.myHierarchicalData} displayItemsExpanded=true sortExpertMode=true
I have an AdvancedDataGrid that loads data from a web service. It only loads
I have an advancedDataGrid that is populated with XMLListCollection data. I'm trying to filter
have next code: class GameTexture { private: LPDIRECT3DTEXTURE9 texture; unsigned char *alphaLayer; UINT width,
Have you guys had any experiences (positive or negative) by placing your source code/solution
I have an AdvancedDataGrid that relies on a HierarchicalCollectionView as it's dataProvider. What I'd

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.