The data grid has a property 'select first', which does just that: selecting the first object, and making sure there is always an object selected. This ensures that the listening data view will never be empty, unless there are no objects in the data grid.