messages.requestFailed String (default: "Request failed.")

Defines the text of Request failed message when the widget fails to load its root-level items.

Example - setting the text of the Request failed button

<div id="treeList"></div>
<script>
  $("#treeList").kendoTreeList({
    dataSource: {
      transport: {
        read: {
          url: "https://example.com"
        }
      }
    },
    columns: [
      { field: "FirstName", title: "First Name", width: 250 },
      { field: "LastName", title: "Last Name" },
      { field: "Position" }],
    editable: true,
    messages: {
      requestFailed: "Fetching failed."
    }
  });
</script>
In this article