Arrays and CollectionViews
When you set the grid's itemsSource property to a regular JavaScript array, it automatically creates an internal CollectionView and uses that as a data source so that it can provide sorting and editing features without forcing you to create a CollectionView yourself.
This internal view is exposed by the grid's collectionView property, and you can use it in case you need the extra functionality yourself.
For example, the grid below is bound to a regular array, and the grid's collectionView property is used to show the currently selected item:
Country: US, Sales: $5,570 Expenses: $3,606