• Resolved cparodi7

    (@cparodi7)


    Hi, first off, great plugin.

    I tried to find a solution on the datatables website but couldn’t figure out how to make it work with the plugin. Is there a way to fix the 2nd row (row after the header) so it doesn’t disappear when you search or click the column headers to resort?

    Thanks,
    Patrick

    http://ww.wp.xz.cn/extend/plugins/wp-table-reloaded/

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

    (@tobiasbg)

    Hi Patrick,

    thanks for your question.

    Unfortunately, I’m not aware of a solution to this. And searching on the DataTables website is the correct place, as such a functionality would have to implemented via DataTables.

    Best wishes,
    Tobias

    Thread Starter cparodi7

    (@cparodi7)

    Hi Tobias,

    Thanks for the reply. The closest I could find on the DataTables site is the following:
    http://datatables.net/forums/discussion/6956/fixedcolumns-fixedheader-and-the-first-row/p1

    Ah I see – you want to freeze the first row of the table’s body in place? That isn’t currently functionality that FixedColumns provides. What you can do though is just have two rows in your header, which would create that same effect 🙂

    Do you know how I could create a 2nd header row via the plugin?

    Thanks again for the help,
    Patrick

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Patrick,

    creating a second header row is not possible via the plugin interface at this time, sorry.
    You could however try it by entering HTML code for a second row into the last cell of the (first) header row:

    First row, last cell</th></tr><tr><th>Second row, first cell</th><th>Second row, second cell</th><th>Second row, third cell</th><th>Second row, last cell

    This is a bit ugly, but it might be enough to do what you want to achieve.

    Regards,
    Tobias

    Thread Starter cparodi7

    (@cparodi7)

    That worked perfectly, thanks!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    awesome, very cool 🙂 Thanks for the confirmation!

    Best wishes,
    Tobias

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

The topic ‘[Plugin: WP-Table Reloaded] Fix 2nd row when sorting, searching, etc?’ is closed to new replies.