DevExtreme jQuery/JS - Array Only

Bind the Lookup to an array by passing it to the dataSource option. The array may contain primitive values...

... or objects.

You can create a Query if objects in an array need to be processed (sorted, filtered, grouped, etc.). For example, in the following code, a Query sorts objects in the products array by the price field in descending order:

See Also