CheckBox select on DataGrid

Tutorial » CheckBox select on DataGrid

This tutorial shows you how to place a checkbox column on DataGrid. With the checkbox users will have the option to select/deselect grid rows all at once.

To add a checkbox column we simply add a column with checkbox property and set it to true. The code looks something like this:

The code above we add a column that has a checkbox property so it will become a checkbox column. If the idField property is setted the selections of DataGrid will be maintained in different pages.

Download the EasyUI example: