New to KendoReactStart a free 30-day trial

Create a custom merge cells tool

Updated on Dec 19, 2025

Environment

Product Version8.2.0
ProductProgress® KendoReact Spreadsheet

Description

How can I create a custom tool that merges the selected cells in the KendoReact Spreadsheet?

Solution

This can be achieved by adding a custom button, MergeCellsButton, to the tools array in the toolbar prop of the Spreadsheet. Inside the MergeCellsButton, use the Spreadsheet's ref to access the active sheet, retrieve the selected cells with the selection method, and then merge them using the merge method.

Change Theme
Theme
Loading ...
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support