This example shows how to display features in grids.
The grid on the left side is created by passing an OpenLayers
collection (ol.Collection) with feature objects (ol.Feature)
The grid on the right side is created from an existing vector
layer and also highlights the selected feature in the grid on the
map.
Have a look at grid.js to see how this is done.