ColReorder Bug

ColReorder Bug

RodiRodi Posts: 2Questions: 0Answers: 0
edited August 2011 in Bug reports
Hi there!

First sorry for the bad title, but I wasn't able to find a better one..

Following issue:

If you fix the first two columns and then hide the first of these, you aren't able to move a column, which is not fixed, after the second fixed column (the shown one).

Again, thanks for this great project.

Greetings

Rodi

Replies

  • RodiRodi Posts: 2Questions: 0Answers: 0
    edited August 2011
    Fixed it.

    [code]
    /* Disallow columns for being reordered by drag and drop, counting left to right */
    if ( this.s.fixed !== 0 ) {
    this.s.aoTargets.splice( 0, this.s.fixed );
    }
    [/code]

    should be

    [code]
    /* Disallow columns for being reordered by drag and drop, counting left to right */
    if ( this.s.fixed !== 0 ) {
    var realFixedCols = this.s.fixed;
    for(var k=0;k
This discussion has been closed.