messages.loading String (default: "Loading...")

Defines the text of the Loading... message when the widget loads its root-level items.

Example - setting the text of the Loading... button

<div id="treeList"></div>
<script>
  $("#treeList").kendoTreeList({
    dataSource: {
      transport: {
        read: {
          url: "https://demos.telerik.com/kendo-ui/service/EmployeeDirectory",
          dataType: "jsonp"
        }
      },
      schema: {
        model: {
          id: "EmployeeId",
          parentId: "ReportsTo",
          fields: {
            EmployeeId: { type: "number", nullable: false },
            ReportsTo: { field: "ReportsTo", nullable: true }
          }
        }
      }
    },
    columns: [
      { field: "FirstName", title: "First Name", width: 250 },
      { field: "LastName", title: "Last Name" },
      { field: "Position" }],
    editable: true,
    messages: {
      loading: "Fetching records..."
    }
  });
</script>
In this article