jQuery EasyUI DataGrid - Adding Checkboxes
This example demonstrates how to place a checkbox column in a DataGrid. With the checkbox, users can select or deselect grid row data.
To add a checkbox column, we only need to add the checkbox property to a column and set it to true. The code is as follows:
Item ID
Product ID
List Price
Unit Cost
Attribute
Status
The above code adds a column with the checkbox property, so it becomes a checkbox column. If the idField property is set, the DataGrid's selection will be preserved across different pages.