parse layout and datagrid