column.field : string Default: undefined
The field name to which the column is bound. If the column.title is not defined this value is used as column.title.
Examples
<table id="grid"></table>
<script>
$("#grid").grid({
dataSource: "../Grid/GetPlayers",
columns: [
{ field: "ID" },
{ field: "Name" },
{ field: "PlaceOfBirth", title: "Place of Birth" },
{ field: "DateOfBirth", type: "date" }
]
});
</script>