Check documentation for the latest version of dhtmlxSuite setFilesLimit DHTMLX Docs


controls the number of files allowed to be added to list

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


// from init
var myVault = new dhtmlXVaultObject({
    filesLimit: 5
// for existing instance


This API page is for Vault v2.5. Please go to 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