yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Quintiq file version 2.0
#parent: lstParticipations
Response OnSelectionChanged (
  structured[LibCal_Participation] selection
) id:Response_lstParticipations_OnSelectionChanged
{
  #keys: '[131094.1.410426047]'
  Body:
  [*
    // Make sure that the row of the first selected event is visible in the ganttchart.
    event := minselect( selection, Elements.Event, evnt, true, evnt.EventCategory().Name(), evnt.Subject() );
    
    gcCalendar.EnsureRowVisible( event.Key() );
    
    // Put the Participations that are selected in the list in a DataHolder,
    // so that they can be used for filtering when 'Only show selected events' is checked.
    dhSelectedParticipations.Data( selection.Copy() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_List_OnSelectionChanged'
}