To reproduce: please run the attached sample project and have a look at the gif file. Workaround: in the _HideWeekDays method, don't pass 0 width as a parameter in the SetColumnWidth method. Use 0.01 instead.
Hello Fabian, Thank you for writing. The values passed to the SetColumnWidth method are proportional and the actual width of the columns is calculated based on them. You can't set it to 0 because it will break the proportional calculation. It is possible to set the proportional value to a very small number, e.g. 0,01. Thus, the layout will be correct.
0.01 does not remove the columns, but makes them very narrow which is not a solution.