Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DataTableCustomFilterProps

Hierarchy

  • MainStoreInjected
    • DataTableCustomFilterProps

Index

Properties

Optional customFilterRef

customFilterRef: (formInstance: FormInstance<any>) => void

Type declaration

    • (formInstance: FormInstance<any>): void
    • Parameters

      • formInstance: FormInstance<any>

      Returns void

entityName

entityName: string

entityProperty

entityProperty: string

filterProps

filterProps: FilterDropdownProps

See filterDropdown in antd Column documentation

Optional mainStore

mainStore: MainStore

onOperatorChange

onOperatorChange: (operator: ComparisonType, propertyName: string) => void

Type declaration

onValueChange

onValueChange: (value: CustomFilterInputValue, propertyName: string) => void

Type declaration

operator

operator: undefined | "=" | ">" | ">=" | "<" | "<=" | "<>" | "startsWith" | "endsWith" | "contains" | "doesNotContain" | "in" | "notIn" | "notEmpty" | "inInterval"

Selected comparison operator (see ComparisonType). Used together with the value prop. E.g. filtering values greater than 100 can be achieved by using operator > and value 100. operator and value state is lifted up from the custom filter component in order to allow operations on all filters at once, such as clearing all filters.

value

Filter value that is used together with the operator prop. E.g. filtering values greater than 100 can be achieved by using operator > and value 100. operator and value state is lifted up from the custom filter component in order to allow operations on all filters at once, such as clearing all filters.

Generated using TypeDoc