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

Summary

The most abstract class for all condition expressions. A condition expression can be applied on a data row (e.g. an item in a store) and generate a result condition expression.

Property Summary

Method Summary

  • applyRow(datarow,getter) Unimplemented Interface Apply this condition expression on the given datarow, return a result expression.
  • getName() Get the name of this kind of expression.
  • toObject() Convert this data expression to a simple object.

Properties

Methods

applyRow(datarow,getter)

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

Parameter Type Description
datarow object

A data item of a store.

getter function(row,colArg)

A user defined function that extract cell data from datarow. colArg is an argument that provides a kind of column information. It is defined by user in the constructor of a _DataExpr object.

Returns:any

MUST return a _ConditionExpr object

getName()

Get the name of this kind of expression.

Returns:any | undefined

the name of this kind of expression

toObject()

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

Returns:any | object

An object for serialization.

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