jQuery Grid Selection

The Grid component supports selection out of the box.
You can customize the selection behavior further, by setting properties in the "selection" section.
This is demonstrated below:


 

$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    selection: 
    {
        type: "cell",
        multiple: false,
        toggle: true
    }
    columns: [
        { field: "ID", title: "Unique Number", format: "{0:c}" },
        { field: "name", title : "Name", width: "300px" }
    ]
});

The type property specifies whether selection will be row-based or cell-based.
multiple specifies whether multiple elements can be selected.
toggle determines whether selecting an element will toggle or turn off the previous selection.

Live example of selection functionality you can find here.