maxHeight

The maximum height that the Grid should span to.

Used with the height: "auto" setting it will cause the Grid to automatically size vertically until the given maximum height is reached, at which point a vertical scroll bar will appear if scrolling is set.

$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    scrolling: true,
    height: "auto",
    maxHeight: 300,
    columns: [
        { field: "ID" },
        { field: "name" }
    ],
});