pdf.subject String
(default: null)
Sets the subject of the PDF file.
Example - setting the subject
<div id="treelist"></div>
<script>
$("#treelist").kendoTreeList({
toolbar: ["pdf"],
columns: [
{ field: "FirstName", title: "First Name" },
{ field: "LastName", title: "Last Name", width: 160 },
{ field: "Position" }
],
pdf: {
subject: "Employees"
},
dataSource: {
transport: {
read: {
url: "https://demos.telerik.com/kendo-ui/service/EmployeeDirectory/All",
dataType: "jsonp"
}
},
schema: {
model: {
id: "EmployeeID",
fields: {
parentId: { field: "ReportsTo", nullable: true },
EmployeeID: { field: "EmployeeId", type: "number" },
Extension: { field: "Extension", type: "number" }
},
expanded: true
}
}
}
});
</script>