implemented base for DataGrid