Quintiq file version 2.0
#parent: dhImportExport
Response OnDataChanged () id:Response_LibCal_GlobalState_dhImportExport_OnDataChanged
{
  #keys: '[131094.1.1096953654]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  QuillAction
  {
    Body:
    [*
      // Select the applicable ImportExport-dataset when a different planning-dataset has been selected.
      // In this case, load the dataset if it exists but is offline, but don't create a new dataset if it does not exist.
      LibCal_GlobalState.EnsureImportExportDataset( true, false );
      
      // The dataset is not always selected by the previous method (?), so do it here again just to be sure.
      // But even then, the dataset is sometimes still not selected... :-(
      LibCal_GlobalState.SelectImportExportDatasetIfExists();
    *]
    GroupServerCalls: false
  }
}
