Integration Toolkit Solutions Wiki

Filter table data using where()

A very simple example of using the where() filter on the Perspective table component's default data.

Expression binding on custom property
where(
	{this.props.data},
	it()['country']  = 'China'  // case sensitive.
)
Features employed
  • where() prunes the source data according to supplied conditional expressions.
  • it() retrieves the loop value for an iterator from inside the nested expression.
1 Like