This might be more of a bug report.
Create a list grid with more than 5 columns(we used 13). Have buttons for hide and show 5 of those columns using showFields/hideFields. it seems to do it on passing in listgridfields and strings, but we're using strings. Don't hide the last few columns.
Hide and show a few times. Notice that the column headers become messed up, in particular the last hidden column's header name starts being copied into the column headers starting from the right end.
Create a list grid with more than 5 columns(we used 13). Have buttons for hide and show 5 of those columns using showFields/hideFields. it seems to do it on passing in listgridfields and strings, but we're using strings. Don't hide the last few columns.
Hide and show a few times. Notice that the column headers become messed up, in particular the last hidden column's header name starts being copied into the column headers starting from the right end.