From 7b4bb40e872d20a1e8bc622b94f7040a9ff57032 Mon Sep 17 00:00:00 2001 From: Chun-MingChen Date: Thu, 5 Apr 2018 15:46:04 +0800 Subject: [PATCH] details for comparator --- docs/filter-props.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/filter-props.md b/docs/filter-props.md index 6196e2d..fdcee94 100644 --- a/docs/filter-props.md +++ b/docs/filter-props.md @@ -243,3 +243,16 @@ const columns = [{ ... }, { ... }, { ``` + +## Comparator +We support the following ways to do the comparison. Each `filter` has its default comparator. For more information, please take refer to the introduction of props above. + +| | Comparator | Symbol | description | +|---|-----------------|--------|-------------------------| +| 1 | Comparator.LIKE | N/A | To include filter value | +| 2 | Comparator.EQ | = | | +| 3 | Comparator.NE | != | | +| 4 | Comparator.GT | > | | +| 5 | Comparator.GE | >= | | +| 6 | Comparator.LT | < | | +| 7 | Comparator.LE | <= | |