Hi
we have a grid with 15 columns in it. we then have a dhtmlx menu which has a list of those column in a drop down menu item with a check box next to each one. the user can select the column to hide / show it.
we use the setColumnHidden function to hide and show the columns - we are noticing a very strange behaviour in this.
if you set up the same thing and then begin clicking the checkboxes (turn a few off, then turn a few on etc…) you will notice after a little while that it stops functioning as it should - its starts placing the cells in incorrect positions and becomes a mess…
can you replicate this bug, if not i will send you a sample?
thanks
richard
Unfortunately issue can’t be reconstructed locally.
Please be sure that you not using setColumnHidden against columns with colspan. ( if you hiding column which included in colspan - it may result in different visual errors )
If issue still occurs for you - please provide any kind of sample where problem can be reconstructed.
i managed to find out the bug occurs if you make the width of one of the columns ‘*’ with a min width assigned to that column.
i fixed it by assigning it a width instead of a *- not really what we want though
thanks
There are two known issue with hidden columns with size defined as “*”
- column size may be incorrect after making column back visible ( was fixed in latest build 81107 )
- FF has bug in visualization when columns with auto-size shown|hidden ( the dom updated correctly , but browser “forgot” to repaint area ) , temporary workaround can be checked here dhtmlx.com/docs/products/kb/inde … n%20column
thanks