Categories | Question details Back To List | ||
grid column move and multiple header rows I've noticed that the behavior of column move is a bit odd when the grid has multiple column headers. In my example, I have two header rows, with the upper row containing cells that span multiple columns on the bottom row. What I have noticed is this: 1. When columns on the lower row are moved, the move box does not contain the name of the column being moved, or in some cases, contains a name from the upper row. The move indicator also only shows up on the upper row. Also, sometimes the columns on the upper row are moved around while trying to move columns on the lower row. 2. Columns on the upper act as though the could be moved, but moving them seems to randomly move columns on the lower row. I fully appreciate the difficulties that would arise from trying to move columns from one row to another. I don't even think I would be interested in seeing that behavior, but it would be nice if: 1. Columns could successfully move within the row they reside on (with proper UI cues). 2. If a column is being moved, and it spans multiple child columns, that they too are moved. Thanks for taking this request. Any response will be greatly appreciated. Answer posted by Support on Dec 19, 2008 02:00 The move column operation will work correctly only if column in question not included in col|row-spans. If column has spanned cells in data or header part - the move operation may cause visual distorsion. >>2. If a column is being moved, and it spans multiple child columns, that they too are moved. While it can be logical in your case, it is hard to create universal rules, how colspans need to be updated in common case. In most cases moving a single column, included in colspan has not sense at all. Currently we have not plans about introducing such functionality in common codebase, but if you really need such functionality , you can contact sales@dhtmlx.com about custom functionality implementation. |