Feature/datagrid categories

 - updated datagrid api
   'children' property is now 'hasChildren'

 - fixed indentation for datagrid code