Question about duplicated key and colReorder

Question about duplicated key and colReorder

lenamtllenamtl Posts: 265Questions: 65Answers: 1

Hi,

I have question about duplicated key.

Regarding this code, should I remove

"colReorder": true,

from

"colReorder": true,
"colReorder": {
       fixedColumnsRight: 1,
       fixedColumnsLeft: 1,
       fixedColumnsLeft: 2,
      },

Also how can I use more than one fixedColumnsLeft ? this is working ok but it is duplicated key...

Thanks

This question has accepted answers - jump to:

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    If you have duplicates one will overwrite the other.

    Also how can I use more than one fixedColumnsLeft ?

    What are you trying to accomplish with 2 settings?

    Kevin

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Answer ✓

    should I remove
    "colReorder": true,

    If your colReorder has additional options such as fixedColumnsRight etc., you don't need "true".

  • lenamtllenamtl Posts: 265Questions: 65Answers: 1

    Ok thanks

    I think I have misunderstood how fixedColumns work.

    I realized that the number is not related to column order but column quantity.
    fixedColumnsLeft: 2,

    Does not mean the second column from left is fixed
    but mean that the first 2 columns fro the left are fixed.

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    Yep, means first two. You can't have a column fixed in the middle of the table,

    Colin

This discussion has been closed.