We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create a customized cell context menu of SfSpreadsheet

SfSpreadsheet provides support to customize the cell context menu. User can add their own custom menu items and add this to the cell context menu of SfSpreadsheet.

 

For example

 

Create a custom context menu items such as Insert Row, Insert Column, Delete Row and Delete Column respectively.

 

C#:

 

 

Now set this function CustomContextmenu to the CellContextMenu property of Active SpreadsheetGrid in the WorkbookLoaded event of SfSpreadsheet

 

C#:

 

The following screenshot illustrates the SfSpreadsheet after create cell context menu

 

Sample link:

 

WPF

 

WINRT

Article ID: Published Date: Last Revised Date: Platform: Control:
6500 03/10/2016 04/27/2016 WinRT SfSpreadsheet
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.