Flex AdvancedDatagrid Selected row count

Posted on 2009-04-20
Last Modified: 2012-08-14
I have an AdvancedDatagrid with allowMultipleSelection set to true. The users can select multiple record from the grid by pressing CTRL key and click. I want to show selected number of records count in a text field at the bollom of the grid (out side grid component). How this can be done?

Question by:VKN9876
    1 Comment
    LVL 12

    Accepted Solution

    Use this property:

    Replace <<advancedDataGridID>> with the ID of the AdvancedDataGrid.

    So it will look like this:
    <mx:Text text="{<<advancedDataGridID>>.selectedItems.length}"/>

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    This video discusses moving either the default database or any database to a new volume.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now