Class IgrDataGridComparisonOperatorSelector<P>

A dropdown selector for choosing which comparison operator to use.

Type Parameters

Hierarchy

Hierarchy

  • Component<P, {}>
    • IgrDataGridComparisonOperatorSelector

Constructors

Properties

Accessors

Methods

Constructors

Properties

context: any

If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

static contextType = MyContext
// For TS pre-3.7:
context!: React.ContextType<typeof MyContext>
// For TS 3.7 and above:
declare context: React.ContextType<typeof MyContext>
props: Readonly<P> & Readonly<{
    children?: ReactNode;
}>
refs: {
    [key: string]: ReactInstance;
}

Type declaration

  • [key: string]: ReactInstance
state: Readonly<{}>
contextType?: Context<any>

If set, this.context will be set at runtime to the current value of the given Context.

Usage:

type MyContext = number
const Ctx = React.createContext<MyContext>(0)

class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}

Accessors

  • get background(): string
  • Gets or sets the background color.

    Returns string

  • set background(v): void
  • Parameters

    • v: string

    Returns void

  • get customFilterID(): string
  • Gets the ID for the custom filter that is selected. Value must be 'Custom' for this property to be valid.

    Returns string

  • set customFilterID(v): void
  • Parameters

    • v: string

    Returns void

  • get customFilterIndex(): number
  • Gets the index for the custom filter that is selected. Value must be 'Custom' for this property to be valid.

    Returns number

  • set customFilterIndex(v): void
  • Parameters

    • v: number

    Returns void

  • get dataType(): DataSourceSchemaPropertyType
  • Gets or sets the data type. Used to determine what operators are available.

    Returns DataSourceSchemaPropertyType

  • set dataType(v): void
  • Parameters

    • v: DataSourceSchemaPropertyType

    Returns void

  • get maxHeight(): number
  • Returns number

  • set maxHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get nativeElement(): HTMLElement
  • Returns HTMLElement

  • get operatorCaptionBottom(): string
  • Returns string

  • get operatorCaptionBottomPercentile(): string
  • Returns string

  • get operatorCaptionContains(): string
  • Returns string

  • get operatorCaptionDoesNotContain(): string
  • Returns string

  • get operatorCaptionDoesNotEndWith(): string
  • Returns string

  • get operatorCaptionDoesNotStartWith(): string
  • Returns string

  • get operatorCaptionEmpty(): string
  • Returns string

  • get operatorCaptionEndsWith(): string
  • Returns string

  • get operatorCaptionEquals(): string
  • Returns string

  • get operatorCaptionFalse(): string
  • Returns string

  • get operatorCaptionGreaterThan(): string
  • Returns string

  • get operatorCaptionGreaterThanOrEqual(): string
  • Returns string

  • get operatorCaptionLastMonth(): string
  • Returns string

  • get operatorCaptionLastQuarter(): string
  • Returns string

  • get operatorCaptionLastWeek(): string
  • Returns string

  • get operatorCaptionLastYear(): string
  • Returns string

  • get operatorCaptionLessThan(): string
  • Returns string

  • get operatorCaptionLessThanOrEqual(): string
  • Returns string

  • get operatorCaptionMonth(): string
  • Returns string

  • get operatorCaptionNextMonth(): string
  • Returns string

  • get operatorCaptionNextQuarter(): string
  • Returns string

  • get operatorCaptionNextWeek(): string
  • Returns string

  • get operatorCaptionNextYear(): string
  • Returns string

  • get operatorCaptionNotEmpty(): string
  • Returns string

  • get operatorCaptionNotEquals(): string
  • Returns string

  • get operatorCaptionQ1(): string
  • Returns string

  • get operatorCaptionQ2(): string
  • Returns string

  • get operatorCaptionQ3(): string
  • Returns string

  • get operatorCaptionQ4(): string
  • Returns string

  • get operatorCaptionStartsWith(): string
  • Returns string

  • get operatorCaptionThisMonth(): string
  • Returns string

  • get operatorCaptionThisQuarter(): string
  • Returns string

  • get operatorCaptionThisWeek(): string
  • Returns string

  • get operatorCaptionThisYear(): string
  • Returns string

  • get operatorCaptionToday(): string
  • Returns string

  • get operatorCaptionTomorrow(): string
  • Returns string

  • get operatorCaptionTop(): string
  • Returns string

  • get operatorCaptionTopPercentile(): string
  • Returns string

  • get operatorCaptionTrue(): string
  • Returns string

  • get operatorCaptionYear(): string
  • Returns string

  • get operatorCaptionYearToDate(): string
  • Returns string

  • get operatorCaptionYesterday(): string
  • Returns string

  • get textColor(): string
  • Gets or sets the text color.

    Returns string

  • set textColor(v): void
  • Parameters

    • v: string

    Returns void

Methods

  • Parameters

    • name: string
    • icon: string
    • id: string
    • index: number

    Returns void

  • Returns void

  • Returns void

  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

  • Returns void

  • Called immediately after updating occurs. Not called for the initial render.

    The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

    Parameters

    • prevProps: Readonly<P>
    • prevState: Readonly<{}>
    • Optional snapshot: any

    Returns void

  • Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount.

    Returns void

  • Returns void

  • Parameters

    • name: string

    Returns any

  • Parameters

    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Returns number

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    • prevProps: Readonly<P>
    • prevState: Readonly<{}>

    Returns any

  • Parameters

    • container: any

    Returns void

  • Returns any

  • Parameters

    • id: string
    • index: number

    Returns void

  • Type parameters

    Type Parameters

    • K extends never

    Parameters

    • state: {} | ((prevState, props) => {} | Pick<{}, K>) | Pick<{}, K>
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • nextProps: any
    • nextState: any

    Returns boolean

  • Returns void