mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-27 10:08:44 +00:00
[UI] Bulk Delete Enhancements (#12601)
* Add optional filtering for bulkDelete * Enhanced pre-form content
This commit is contained in:
1 parent
76bce6a7b1
commit
e55a6e78d2
3 files changed
+44
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user