Skip to content

Commit 7e8c01f

Browse files
gnseoMarcusNotheis
authored andcommitted
fix(AnalyticalTable): Each column can have groupable, sortable, filterable options (#264)
1 parent ac4576d commit 7e8c01f

File tree

1 file changed

+3
-3
lines changed
  • packages/main/src/components/AnalyticalTable

1 file changed

+3
-3
lines changed

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ const AnalyticalTable: FC<TableProps> = forwardRef((props: TableProps, ref: Ref<
331331
id={column.id}
332332
{...column.getHeaderProps()}
333333
isLastColumn={index === columns.length - 1}
334-
groupable={props.groupable}
335-
sortable={props.sortable}
336-
filterable={props.filterable}
334+
groupable={column.groupable ?? props.groupable}
335+
sortable={column.sortable ?? props.sortable}
336+
filterable={column.filterable ?? props.filterable}
337337
onSort={props.onSort}
338338
onGroupBy={onGroupByChanged}
339339
onDragStart={handleDragStart}

0 commit comments

Comments
 (0)