| Quintiq file version 2.0 | 
| #parent: DataHolderSelectedSalesSegment | 
| Response OnDataChanged () id:Response_ListSalesSegment_DataHolderSelectedSalesSegment_OnDataChanged | 
| { | 
|   #keys: '[113694.2.1043713613]' | 
|   Body: | 
|   [* | 
|     // Syncrhonize the list selection | 
|     ApplicationLibMacroPlanner.AutoExpandSelection( ListSalesSegment, this.Data() ); | 
|     ApplicationLibMacroPlanner.AutoSelectElementsInList( ListSalesSegment, this.Data() ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_GUIComponent_OnDataChanged' | 
|   Precondition: | 
|   [* | 
|     return ListSalesSegment.UserData() = 1 // Work around on quintiq bug, the DataHolder on datachange is fired while the list is not completly loaded. | 
|            and not isnull( this.Data() ) | 
|            and this.Data().Size() > 0; | 
|   *] | 
| } |