GetFieldsCompleted: function (sender, args)
sender. Event source.
args. Event information.
The GetFieldsCompleted event occurs after all the table fields are completed from a source.
This event is relevant for the first page of the data import wizard.
The first wizard page is an instance of the class PP.Mb.Ui.ImportColumnsStep.
To execute the example, the page must contain ImportDataWizard component and a service used to work with data import, named dataImportService (see Example of creating the ImportDataWizard component). Add a handler for the GetFieldsCompleted event:
dataImportService.GetFieldsCompleted.add(function (sender, args)
{
alert("FieldsCompleted");
dataImportService.setHasHeader(importDataWizard.getCubeImport(), "Text", false);
});
After executing the example the message "FieldsCompleted" appears on clicking the Load button or on selecting another table sheet in the drop-down list.
See also: