It is necessary to fill dataGrid with a two-dimensional array of lines. and everything would be simple if it were not for the pattern.
I will listen to all the PS suggestions if, as a result of the implementation, it will be possible to also name the header of columns to be finally your top