I am trying out the datatables.net library and would like to get a similar function as to what is shown on the homepage (and below) where the user can click on the icon and it will expand the row to show the child elements. Where in the documentation can I see where this is done?
They are called "child rows" - see an official example with full code. There are also lots of SO questions about DataTables child rows.