PIM-3086: Clean some code on datagrid bundle

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | N
| BC breaks?           | Y
| CI currently passes? | Y
| Tests pass?          | Y
| Scenarios pass?      | ?
| Checkstyle issues?*  | Y
| PMD issues?**        | Y
| Changelog updated?   | Y
| Fixed tickets        | PIM-3086, PIM-3087, PIM-3088
| Doc PR               |