# Select All by Group Easy Chary

**URL:** <https://forum.inductiveautomation.com/t/select-all-by-group-easy-chary/9024>\
**Category:** Ignition\
**Created:** [September 8, 2014, 1:10pm UTC](https://forum.inductiveautomation.com/t/select-all-by-group-easy-chary/9024 "2014-09-08T13:10:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 8, 2014, 1:10pm UTC](https://forum.inductiveautomation.com/t/select-all-by-group-easy-chary/9024/1 "2014-09-08T13:10:43Z")

</div>

What is the property (if any) I can use to toggle select all (show) pens by group or total?

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 8, 2014, 9:42pm UTC](https://forum.inductiveautomation.com/t/select-all-by-group-easy-chary/9024/2 "2014-09-08T21:42:23Z")

</div>

I made some checkboxes for each group, and bound selected property to another checkbox labeled ALL.

this code in each property change of the group checkboxes

[code]start=0  
groupSize=7  
checkValue=event.source.selected  
dsPens = event.source.parent.getComponent(‘Easy Chart’).pens

# column 6 is the enabled column

for num in range(start,start+groupSize):  
dsPens = system.dataset.setValue(dsPens, num, 7, checkValue)  
event.source.parent.getComponent(‘Easy Chart’).pens=dsPens[/code]

It takes up a lot of room on my screen though, so I wish I could do this within the group display but this works well too.
