dataOrderField String

The field used to order cards (number based). If not set, cards will be rendered in the order they are fetched. And ordering will not be applied to the DataSource and respectively, not synced with the remote data source.

Example

<div id="taskBoard"></div>

<script>
  $("#taskBoard").kendoTaskBoard({
    dataTitleField: "Title",
    dataCategoryField: "Category",
    dataDescriptionField: "Description",
    dataStatusField: "Status",
    dataOrderField: "Order",
    dataSource: [
      { id: 1, title: "Task 1", Description: "Description 1", Status: "backlog", Category: "red", Order: 0 },
      { id: 2, title: "Task 11", Description: "Description 11", Status: "backlog", Category: "red", Order: 1 },
      { id: 3, title: "Task 2", Description: "Description 2", Status: "doing", Category: "green", Order: 2 },
      { id: 4, title: "Task 22", Description: "Description 22", Status: "doing", Category: "green", Order: 3 },
      { id: 5, title: "Task 3", Description: "Description 3", Status: "done", Category: "blue", Order: 4 }
    ],
    columns: [
      { text: "Doing", status: "doing" },
      { text: "Backlog", status: "backlog" },
      { text: "Done", status: "done" }
    ]
  });
</script>
In this article
Not finding the help you need? Improve this article