How to create Admin Grid in Magento 2

- Magento 2

Magento 2 Development

First of all, create a page for your grid (new page example). Then, add a UI component in layout for view/adminhtml/layout/samplegrid_index_index.xml.

'

and the definiton of the UI component view/adminhtml/ui_component/sample_grid_entity_listing.xml:

and define your collection provider in DI

Source (Magento Stackexchange question) (KAndy)

More Magento 2 tips from the Cookbook

'