dojox/grid/enhanced/plugins/filter/_FilterExpr._BiOpExpr (version 1.10)

Summary

The most abstract class for all bi-operator expressions. A bi-operator expression is an _OperatorExpr that allow and only allow two operands.

Usage

var foo = new _FilterExpr._BiOpExpr();
dojox/grid/enhanced/plugins/filter/_ConditionExpr

Property Summary

Method Summary

  • _calculate(left_operand,right_operand,datarow,getter) Unimplemented Interface Do the actrual work of applyRow here.
  • applyRow(datarow,getter) Implement _ConditionExpr.applyRow.
  • getName() Get the name of this kind of expression.
  • toObject() Overrided from _ConditionExpr.toObject

Properties

Methods

_calculate(left_operand,right_operand,datarow,getter)

Unimplemented Interface Do the actrual work of applyRow here.

Parameter Type Description
left_operand Object

An object with the following properties:

  • _name
  • applyRow:

    Unimplemented Interface Apply this condition expression on the given datarow, return a result expression.

  • toObject:

    Convert this data expression to a simple object. Mainly used for serialization.

  • getName:

    Get the name of this kind of expression.

right_operand Object

An object with the following properties:

  • _name
  • applyRow:

    Unimplemented Interface Apply this condition expression on the given datarow, return a result expression.

  • toObject:

    Convert this data expression to a simple object. Mainly used for serialization.

  • getName:

    Get the name of this kind of expression.

datarow object
getter function(row,colArg)
Returns:any

MUST return a _ConditionExpr object.

applyRow(datarow,getter)

Implement _ConditionExpr.applyRow. Apply the restriction of "two operands" and confirm operands are valid _ConditionExpr's.

Parameter Type Description
datarow data item
getter function(row,colArg)
Returns:undefined
getName()

Get the name of this kind of expression.

Returns:any | undefined

the name of this kind of expression

toObject()

Overrided from _ConditionExpr.toObject

Returns:Object
Error in the documentation? Can’t find what you are looking for? Let us know!