@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
25 lines (24 loc) • 1.06 kB
TypeScript
import * as React from 'react';
import { AdaptableColumn } from '../../../types';
import { ValueSelectorProps } from '../ValueSelector';
type NewColumnSelectorProps = {
availableColumns: AdaptableColumn[];
selected: string[];
singleSelect?: boolean;
/** External filter text (legacy — prefer `compactColumnList` inline search). */
columnFilterText?: string;
allowReorder?: boolean;
onChange?: (colIds: string[]) => void;
/** Layout wizard pattern: compact header with inline search beside selection controls. */
compactColumnList?: boolean;
compact?: ValueSelectorProps<AdaptableColumn, string>['compact'];
showFilterInput?: ValueSelectorProps<AdaptableColumn, string>['showFilterInput'];
filterPlaceholder?: string;
compactHeaderClassName?: string;
compactFilterClassName?: string;
hideShowSelectedOnly?: boolean;
optionClassName?: string;
className?: string;
};
export declare const NewColumnSelector: ({ allowReorder, ...props }: NewColumnSelectorProps) => React.JSX.Element;
export {};