Jquery 数据表如何在拖放时禁用特定行?

Jquery datatable how to disable specific row while drag & drop?

rowReorder: {
            dataSrc: 'tr'
        },

我正在使用 rowReorder 进行拖放,但我需要禁止特定行拖动和更改其顺序,该怎么做?

rowReorder: {
                dataSrc: 'tr',
                selector: 'td.reorder',
            },
columnDefs: [
                {
                    targets: 0,
                    className: 'reorder',
                    createdCell: function (td, cellData, rowData) {
var selector = $(td).parents('tr').find('.reorder');
                            selector.addClass('reorder-disabled');
                            selector.removeClass('reorder');
                        }
                    }
                }
            ],