• Resolved nikana2000

    (@nikana2000)


    Hello Tobias,

    I’m wanting to fix the first 3 columns for the webpage specified.
    I have turned off the ‘DataTables JavaScript library’ options which removes colspan and rowspan, but it still doesn’t work.

    Perhaps I have too many other features?
    [table id=PoGo-LegacyMoves datatables_fixedheader=top responsive=”scroll” datatables_fixedcolumns_left_columns=3 datatables_buttons=”colvis” datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,3,4,5,6,7,8,9,10,11,12,13,14,15,16 /]

    I have the following Custom Commands: “dom”: “BWlfrtip”

    By the way,… as discussed in this support thread, the FixedColumn feature still works even though they have colspan and rowspan in their table here:
    https://77.104.152.178/~tramac26/canada/heavy-range-breakers/

    Thoughts?
    Thank you (again)!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That link that you posted (with FixedColumns working) does not use any colspan or rowspan in that table. The only colspan is in a small separate table.

    For your table: You must remove all colspan and rowspan. Then, re-enable the “Use DataTables” checkbox (you can however turn off the individual features that you don’t want).
    Then, try the features individually, before trying everything together. The problem that you will experience is that you can not use FixedHeader and FixedColumns at the same time. They are not compatible. The other things are compatible, by using that “Custom Command”.

    Regards,
    Tobias

    Thread Starter nikana2000

    (@nikana2000)

    Hello Tobias,
    (And thank you for the prompt response as usual.)

    I won’t be as well versed/knowledgable as you, but from my Chrome browser-‘Development Mode’ the example table has rowspan and colspan in the header of the table with FixedColumns. Perhaps I am misinterpreting the following screencap information?

    Temp

    Removing the FixedHeader was the issue for me.
    Thank you

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    indeed, it has the rowspan and colspan attributes there, but their value is 1, so no actual cell merging is done ?? These simply are the default values in the browser, and they are set to be on the safe side.

    Regards,
    Tobias

    Thread Starter nikana2000

    (@nikana2000)

    Ah, gotcha.
    Thank you for explaining that, and keep up the good work.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘FixedColumns and Col/Rowspan’ is closed to new replies.