form./*some grid*/.RowCellClick += (s, e) =>
    var row = form./*some grid*/.GetRow(e.RowHandle) as /*some model that has been set to datasource*/; 
    if (row == null)
    // Check if some column has been clicked on and refresh the row
    if (e.Clicks == 2 || e.Column == form.col_IsSelected)
        row.IsSelected = !row.IsSelected;
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter