Unable to add checkbox on datatables

I am trying to add multiselect checkboxes on grid using https://www.datatables.net/, I am taking reference from https://www.gyrocode.com/articles/jquery-datatables-how-to-add-a-checkbox-column/. However I am still not able to add checkboxes on grid. Any suggessions will be highly appreciated.

    <link href="~/plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" />
    <script src="~/plugins/datatables/jquery.dataTables.min.js"></script>
    <link href="~/plugins/jquery-datatables-checkboxes/css/dataTables.checkboxes.css" rel="stylesheet" />
    <script src="~/plugins/jquery-datatables-checkboxes/js/dataTables.checkboxes.min.js">

Grid contains only the id for checkboxes