• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 922
  • Last Modified:

Flex AdvancedDatagrid Selected row count

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?

Thanks
0
VKN9876
Asked:
VKN9876
1 Solution
 
lexxwernCommented:
Use this property:
<<advancedDataGridID>>.selectedItems.length

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

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

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now