The rendering of the datagrid create exception in the case of empty data. Can be resolved by checking conditions but not prefered comportment.