i tried below method to add some file default in dhtmlx vault.its added successfully but i am not able to get file name on this method on delete when i “alert” the file object during delete by using “onBeforeFileRemove” method it displays “void” for file.name.why is that?
var files = [{id:1,name:}]
for(var q=0;q<files.length;q++){
var f=files[q];
myVault.file_data[f.id]=f.id;
myVault.file_data[f.name]=f.name;
myVault.file_data[f.serverName]=f.serverName;
myVault._addFileToList(f.id,f.name,f.size,f.serverName,“uploaded”,100);
myVault.list.updateFileState(myVault.file_items[f.id],{state:“uploaded”,str_done:myVault.strings.done});
}