It seems, the DataGrid component is a depreted component. So I will try to use the DataGridView component.