Skip to content

Commit

Permalink
[Discover][UnifiedDataTable] Enable drag&drop for grid columns
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Oct 25, 2024
1 parent 7732b8d commit a1cc540
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ export const UnifiedDataTable = ({
const schemaDetectors = useMemo(() => getSchemaDetectors(), []);
const columnsVisibility = useMemo(
() => ({
canDragAndDropColumns: true,
visibleColumns,
setVisibleColumns: (newColumns: string[]) => {
const dontModifyColumns = !shouldPrependTimeFieldColumn(newColumns);
Expand Down

0 comments on commit a1cc540

Please sign in to comment.