Quintiq file version 2.0
#parent: #root
Method AutoSelectAllSnapshots () id:Method_FormKpiSnapshots_AutoSelectAllSnapshots
{
  #keys: '[146874.0.535672661]'
  Body:
  [*
    // Select all snapshots in the query
    ListSnapshots.ClearSelection();
    if( CheckboxSelectAllSnapshots.Checked() )
    {
      traverse( DataHolderSnapshotSetData.Data(), SnapshotData, snapshot )
      {
        ListSnapshots.ExtendSelectByKey( snapshot.Key() );
        traverse( snapshot, Value, value )
        {
          ListKpiValues.ExtendSelectByKey( value.Key() );
        }
      }
    }
  *]
}
