Skip to content

Conflict with FixedHeader and FixedColumns #18

@yamibakura

Description

@yamibakura

Hi,
I'm using your REDIPS_drag together with the DataTables lib: it works fine but, when using the extensions FixedColumns and FixedHeader, REDIPS_drag looses the cells positioning.

Example: the cursor is on 3rd row - 10th column, instead the target cell is highlighted on 1st row - 2nd column.

It seems that the "scrollX" and "scrollY", needed to enable FixedColumns and FixedHeader, conflicts with REDIPS_drag. Is there some solution?

Thanks in advance

PS: my initialization of DataTables and extensions:

  • var table = $('#table2').DataTable({
    "bPaginate": false,
    "bSortClasses": false,
    "bJQueryUI": true,
    "bSort": true,
    "sDom": 'C<"clear">ti',
    "scrollY": "100%",
    "scrollX": "100%",[...]
  • new $.fn.dataTable.FixedHeader(table, {"bottom": false});
  • new $.fn.dataTable.FixedColumns(table, {leftColumns: 6,heightMatch: "auto"});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions