Prevent row selection on button click

Mar 12, 2015 at 8:34 PM
I've a grid where the first column contains buttons. I have jQuery code in place that is activated on the row click. However, I don't want that code to run when the user clicks a button in the row. Anyone know how I prevent that? Below is my row select code:
        pageGrids.ConfidenceGrid.onRowSelect(function (e) {
            var $url = $('#GetSingleConfidenceURL').val();
            var $ajaxOptions = {
                url: $url,
                type: "POST",
                data: {
                    machineID: e.row.MachineId,
                    productKey: e.row.ProductKey,
                    testKey: e.row.TestKey
                .success(function (response) {
                    var $replaceMe = $('#ConfidenceResults');