noRecordsTemplate

The template which will be rendered when the gird does not have data:

<script id="noRecordsTemplate" type="text/x-shield-template">
    <table> 
        <tr class="row">
            <td>
                There is not records to display.
            </td>
        </tr>
    </table>
</script>

<div id="grid"></div>

<script type="text/javascript">
$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    noRecordsTemplate: $("#noRecordsTemplate").html(),
    columns: [
        { field: "ID", title: "Unique Number", format: "{0:c}" },
        { field: "name", title : "Name", width: "300px" }
    ]
});
</script>