type

Sets the type of selection. Possible options are:

  • "row" - the user can select a row.
  • "cell" - the user can select a cell
$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    selection: {
        type: "row"
    },
    columns: [
        { field: "ID", title: "Unique Number", format: "{0:c}" },
        { field: "name", title : "Name", width: "300px" }
    ]
});

Live demo of different selection types you can find here: Selection Types