Fix active row / column from index
Fix active row / column from index
Hello to everyone,
I was wondering if it's possible to fix a specific column while scrolling on X axis. I've read about the FixedColumns plugin which fixes the first left n-columns or last right n-columns, but I couldn't find reference for fixing the "active" (or selected/clicked) column by passing a specific index. Do you think is it possible?
P.S. Does anyone know if it's also possible to fix an active row instead of a column while scrolling on Y axis.
Many thanks in advance for your attention.
This question has an accepted answers - jump to answer
Answers
Hi @giusem90 ,
Sorry, no, I don't think that's possible. The fixed columns are only specified from the sides (left or right), and the number of columns to fix. This is done during the table initialisation and there's no API method to change this subsequently.
And there's no FixedRow extension, I'm afraid. You could move the row out of the table's body and into the head, but it requires a bit of code for that.
Cheers,
Colin