Check documentation for the latest version of dhtmlxSuite setFilesLimit DHTMLX Docs

setFilesLimit

controls the number of files allowed to be added to list

void setFilesLimit(number count);
countnumbermax number of files the user can upload

Example

// from init
var myVault = new dhtmlXVaultObject({
    filesLimit: 5
});
 
// for existing instance
myVault.setFilesLimit(5);

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

  • use zero value to set an unlimited number of files
  • by default, the number of files is unlimited
  • each call reset counter
Back to top