header checkbox select
header checkbox select
![Rambaldi](https://secure.gravatar.com/avatar/92a85d99a8f501492cd174496f93a311/?default=https%3A%2F%2Fvanillicon.com%2F92a85d99a8f501492cd174496f93a311_200.png&rating=g&size=120)
Hi, I would like to disable the checkbox to select all records in the header, the example on the site doesn't work. Does anyone know how to do?
Thank you
Hi, I would like to disable the checkbox to select all records in the header, the example on the site doesn't work. Does anyone know how to do?
Thank you
Answers
Are you referring to this example? The example seems to work.
Kevin
Thanks, yes I'm referring to that. Using ajax data that code doesn't work. The checkbox remains active and allows you to select all.
i use bootstrap 5
Here is a test case using Bootstrap 5 and Ajax loading of the data. The select all checkbox is removed using
select.headerCheckbox
.https://live.datatables.net/dunagaxu/1/edit
Please provide a link to your page or a test case reproducing the issue so we can help debug. Update my test case if you wish:
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thanks, I found the problem. I also had select:true at the bottom of the javascript which replaced the select style: 'os' ......
Thank you