ID | Info | Date Of Birth |
---|---|---|
Loading...
<script src="/0_6/dist/combined/js/grid.js" type="text/javascript"></script>
<link href="/0_6/dist/combined/css/grid.css" rel="stylesheet" type="text/css">
<table id="grid"></table>
$(document).ready(function () {
$('#grid').grid({
dataSource: '../GetPlayers',
uiLibrary: 'bootstrap',
columns: [
{ field: 'ID', width: 35 },
{ title: 'Info', tmpl: '{Name} is born in {PlaceOfBirth}.' },
{ field: 'DateOfBirth', title: 'Date Of Birth', type: 'date', sortable: true, width: 150 }
]
});
});