Quintiq file version 2.0 
 | 
#parent: DataHolderSelectedProduct 
 | 
Response OnDataChanged () id:Response_ListProduct_DataHolderSelectedProduct_OnDataChanged 
 | 
{ 
 | 
  #keys: '[113694.2.1043703424]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Syncrhonize the list selection 
 | 
    ApplicationLibMacroPlanner.AutoExpandSelection( ListProduct, this.Data() ); 
 | 
    ApplicationLibMacroPlanner.AutoSelectElementsInList( ListProduct, this.Data() ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUIComponent_OnDataChanged' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return ListProduct.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; 
 | 
  *] 
 | 
} 
 |