|
@@ -557,7 +557,6 @@ public class ReservationManagementItemGrid : DynamicDataGrid<JobRequisitionItem>
|
|
|
options.FilterRows = true;
|
|
|
options.SelectColumns = true;
|
|
|
options.RecordCount = true;
|
|
|
- options.DragSource = true;
|
|
|
options.AddRows = false;
|
|
|
options.ImportData = false;
|
|
|
options.ExportData = false;
|
|
@@ -988,22 +987,6 @@ public class ReservationManagementItemGrid : DynamicDataGrid<JobRequisitionItem>
|
|
|
sort = new SortOrder<JobRequisitionItem>(x => x.Requisition.Number, SortDirection.Descending);
|
|
|
base.Reload(criteria, columns, ref sort, token, action);
|
|
|
}
|
|
|
-
|
|
|
- protected override DragDropEffects OnRowsDragStart(CoreRow[] rows)
|
|
|
- {
|
|
|
- // Only allow dragging the selected rows.
|
|
|
- var selected = SelectedRows.Select(x => x.Get<JobRequisitionItem, Guid>(x => x.ID)).ToHashSet();
|
|
|
- var draggedRows = rows.Where(x => selected.Contains(x.Get<JobRequisitionItem, Guid>(x => x.ID))).ToArray();
|
|
|
-
|
|
|
- if(draggedRows.Length == 0)
|
|
|
- {
|
|
|
- return DragDropEffects.None;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- return base.OnRowsDragStart(draggedRows);
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
public class JobRequiReviewDashboardFilterItem
|