columns.dataTextFieldString

The data text field of the foreign key item.

Example - configure column data text field

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { 
      field: "categoryId", 
      title: "Category",
      dataSource: [
        { id: 1, name: "Beverages" },
        { id: 2, name: "Food" }
      ],
      dataTextField: "name",
      dataValueField: "id"
    }
  ],
  dataSource: [
    { name: "Tea", categoryId: 1 },
    { name: "Coffee", categoryId: 1 },
    { name: "Ham", categoryId: 2 }
  ]
});
</script>
In this article
columns.dataTextField
Not finding the help you need?
Contact Support