Added an example of dynamic datalist

Addresses #4627