This knowledge base explains the way to render menu in the Grid columns.
Usually, Grid provides an option to render any control in its columns using template feature along with the templateRefresh event. Likewise, an icon has been rendered in the template column, with click event to handle the context menu (or ejMenu).
Render the Grid with custom contextmenu items and events such as templateRefresh, contextClick and contextOpen.
Define the template for the columns and required CSS references.
Bind the click event to the template element in the templateRefresh event of the Grid which will programmatically show the context menu after clicking them. Later, contextOpen event will be defined to prevent the default behavior of the context menu whereas the contextClick will adds the functionality to the custom context menu items.
Figure: Grid with custom context menu opened from the template column click
This page will automatically be redirected to the sign-in page in 10 seconds.