Skip to content

Sorting table after initial load #39

@NoxxieNl

Description

@NoxxieNl

Hiya,

First of all great piece of software you wrote here.

How ever I stumbled upon a issue I cannot resolve.

When I create my data table en select a couple of rows en use the following code:

table.column(0).checkboxes.selected();

and output the ID's to console I get the id's orderd on the generation of the data table.

If I sort the the datatable by another column and then again to the same function as above I still get the same order of id's when the data table was created.

What I expected was that the ordering of the id's with

table.column(0).checkboxes.selected();

Also changed upon reodering the table, is this a bug or am I missing something here?

Edit:

Funny thing is with the old one:
https://www.gyrocode.com/articles/jquery-datatables-checkboxes/

the ordering on column is respected :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions