To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Not that nice way. grid.getContainerDatasource() returns your container. For each container.getItemIds() and container.getContainerPropertyids() you call container.getContainerProperty(itemid, propertyId).getValue().
I'm sure Viritin add-on has better ways dealing with items with MGrid.