[FEATURE] datagrid refactoring

__Tasks:__

- [x] refactor the datagrid
- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | no
| Fixed tickets | none
| Doc           | none