# Add a Select All Checkbox in KendoReact MultiSelect

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>4.12.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact MultiSelect</td>
		</tr>
	</tbody>
</table>

## Description

How to add a checkbox to the KendoReact DropDowns and to how add a select all checkbox?

## Solution

This can be done with [the KendoReact Multiselect component](https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect) and will require the following:

1. Add an extra data item to the data collection that will represent the Select All item.
2. Use the [itemRender prop](https://www.telerik.com/kendo-react-ui/components/dropdowns/api/multiselectprops#itemrender) that will allow rendering the checkboxes.
3. Handle the extra logic inside the [onChange event](https://www.telerik.com/kendo-react-ui/components/dropdowns/api/multiselectprops#onchange) that will allow setting the specific logic for the select all item.

This is an example showcasing this in action:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/multiselect/multiselect-select-all-checkbox/func/source.txt)
