open
Fired when a file is opened (with double click).
Event Data
e.sender kendo.ui.FileManager
The widget instance which fired the event.
e.entry Object
The opened file (the JSON representation of the file).
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
open: function(e) {
console.log("Opened file: " + e.entry.name);
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
The widget instance which fired the event.
e.entry Object
The opened file (the JSON representation of the file).
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
open: function(e) {
console.log("Opened file: " + e.entry.name);
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
In this article