checkbox on sharepoint list
Brownfield, Pamela
1
Reputation point
Need to create a checkbox on the list as in the pic below .
SharePoint has out of box checkbox on a task list only.
I need to create one for other list that is not a task list. Any ideas how to do this?
129899-image.png
2 answers
Sort by: Most helpful
-
-
RaytheonXie_MSFT 32,166 Reputation points Microsoft Vendor
2021-09-08T09:51:09.17+00:00 Hi @Brownfield, Pamela ,
You can try following code to add checkbox to sharepoint list<script language="javascript" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { AddCustomUserActionToECB(); }); function AddCustomUserActionToECB() { $(".ms-headerCellStyleIcon.ms-vh-icon.ms-vh-selectAllIcon").after("<input type='checkbox'>"); $('.ms-cellStyleNonEditable.ms-vb-itmcbx.ms-vb-imgFirstCell').after("<input type='checkbox'>"); } </script>
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.