Hey Ranjithkumar,
Thanks for your response and the sample.
I actually found 2 different ways to reproduce the problem
1. Giving all columns a fixed width with .Width(xxx)
-> I've modified the sample this way, along with two buttons to hide / show the fields that were hidden on pageload in the original sample.
2. When the width of all columns together is smaller than the gridwidth. In this case the problem occurs even when there are columns without fixed width
Since I could now find out the exact circumstances in which the problem occurs I managed to come up with a workaround:
I Add an additional Column at the very end of the grid with an empty headertext and no fixed width.
Like this:
column.Add("Filler").HeaderText("");
This is enough for my project to work but it would be great to either document the requirement of a "fillerfield" or to fix the problem when all columns have a fixed width.
Regards, Julian
showhide2032196791_c0890509.rar