[UI] Bulk Delete Enhancements (#12601)

* Add optional filtering for bulkDelete

* Enhanced pre-form content
This commit is contained in:
Oliver authored and GitHub committed 2026-08-10 15:53:03 +10:00
1 parent 76bce6a7b1
commit e55a6e78d2
3 files changed
+44 -2

No files matched your search

+2
View File
@@ -168,6 +168,7 @@ export type RowViewProps = RowAction & RowModelProps & RowViewBehaviorProps;
* @param tableState : TableState - State manager for the table
* @param defaultSortColumn : string - Default column to sort by
* @param noRecordsText : string - Text to display when no records are found
* @param bulkDeleteFilter : (record: any) => boolean - Callback function to determine if a record is eligible for bulk deletion
* @param enableBulkDelete : boolean - Enable bulk deletion of records
* @param enableDownload : boolean - Enable download actions
* @param enableFilters : boolean - Enable filter actions
@@ -198,6 +199,7 @@ export type InvenTreeTableProps<T = any> = {
params?: any;
defaultSortColumn?: string;
noRecordsText?: string;
bulkDeleteFilter?: (record: T) => boolean;
enableBulkDelete?: boolean;
enableDownload?: boolean;
enableFilters?: boolean;