Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter timkonings

    (@timkonings)

    I know already it’s because of the merged cells…

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Indeed, the reason for why this does not work are the merged cells. This means that the JavaScript features can not be used with this table, and that includes the FixedColumns script.
    Sorry for not having better news here.

    Regards,
    Tobias

    Thread Starter timkonings

    (@timkonings)

    I found a simple solution in CSS:

    .tablepress-id-5 td:nth-child(1) {
        position: sticky;
        left: 0;
    }
    
    .tablepress-id-5 td:nth-child(1) {
        background-color: #FFFFFF;
    }
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    nice idea! I have seen this approach with fixed headers, but hadn’t considered it for the fixed columns. Thanks for sharing this!

    Best wishes,
    Tobias
     
    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘FixedColumns’ is closed to new replies.