Select extension do not work correct with Server-side processing
Select extension do not work correct with Server-side processing
blankse
Posts: 8Questions: 1Answers: 0
Link to test case:
https://stackblitz.com/edit/datatables-v2
Description of problem:
The callback() function in the ajax function don't set the type
of the check box cells. So the checkboxes will not checked if you check all or click only in the td instead of the checkbox.
Is this a bug?
Answers
It does look like it I'm afraid. I don't have an immediate fix unfortunately. I'm going to have to dig into it a bit. I'll post back here once done.
Allan
Hi Allan,
thank you.
I also have another problem:
I want to add a Bootstrap Dropdown in the header of the table and want to read the selected rows there. But when I open the Dropdown, the ajax method is triggered and the selections are lost.
I have set the column to not orderable. In 1.*, clicking on non-orderable column did not trigger the ajax function.
I add this problem to the test case above.
Sebastian
That will be fixed in the 2.0.2 release. The fix for that is already committed.
Allan
Hi Allan,
thank you, the Dropdown works now with version 2.0.2.
Next problem. The "selectItems" event is not triggered:
I add this problem to the test case above.
Sebastian
I created a PR: https://github.com/DataTables/Select/pull/53
Many thanks - I'll try to review it later this week!
Allan