DHTMLX Docs & Samples Explorer

getUploaderStatus()

Returns the status of uploading.

Parameters:

  • name - item's name
var status = myForm.getUploaderStatus(name);
// or
var myUploader = myForm.getUploader(name);
var status = myUploader.getStatus();

Returns:

  • 0 - no files to upload
  • 1 - all files in the list were uploaded
  • -1 - not all files in the list were uploaded