From 2016c85c8f5ad437f96132b0115942c2f334c77b Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Tue, 19 Sep 2017 10:00:40 -0700 Subject: [PATCH] Merge PR #19726: [react-data-grid] Added getValidateFilterValues signature to GridProps * [react-data-grid] Added getValidateFilterValues signature to GridProps --- types/react-data-grid/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/react-data-grid/index.d.ts b/types/react-data-grid/index.d.ts index 894ebf95aa..2a7bf773cb 100644 --- a/types/react-data-grid/index.d.ts +++ b/types/react-data-grid/index.d.ts @@ -198,6 +198,13 @@ declare namespace AdazzleReactDataGrid { * @param row object behind the row */ onRowClick?: (rowIdx : number, row : object) => void + /** + * Responsible for returning an Array of values that can be used for filtering + * a column that is column.filterable and using a column.filterRenderer that + * displays a list of options. + * @param columnKey the column key that we are looking to pull values from + */ + getValidFilterValues?: (columnKey: string) => Array } /**