projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15672: Adds mutually exclusive data explorer column filters
[arvados-workbench2.git]
/
src
/
components
/
data-table
/
data-column.ts
diff --git
a/src/components/data-table/data-column.ts
b/src/components/data-table/data-column.ts
index 28e93beed0cebadc1fbaa54324cc2729a3a86ed5..aada41391f5d8c13bb157f23c0aee3317a5abd35 100644
(file)
--- a/
src/components/data-table/data-column.ts
+++ b/
src/components/data-table/data-column.ts
@@
-11,6
+11,12
@@
export interface DataColumn<T> {
name: string;
selected: boolean;
configurable: boolean;
name: string;
selected: boolean;
configurable: boolean;
+
+ /**
+ * If set to true, filters on this column will be displayed in a
+ * radio group and only one filter can be selected at a time.
+ */
+ mutuallyExclusiveFilters?: boolean;
sortDirection?: SortDirection;
filters: DataTableFilters;
render: (item: T) => React.ReactElement<any>;
sortDirection?: SortDirection;
filters: DataTableFilters;
render: (item: T) => React.ReactElement<any>;