you can use this Dynamic Datagrid , it has onclick action on cell level plus row, column wise heading also
Data grid 2 should work well. From a UX perspective, I wouldn’t display all weeks horizontally. Instead, consider an alternative, like a form where users can enter the specific number for each 'KW' in a specific week. However, the best approach depends on how the solution will be used. Focus on meeting the business needs rather than simply recreating an old Excel solution. Good luck :)