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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

How to show DropDown with CRUD action list instead of showing individual items in toolbar?

Platform: jQuery |
Control: ejGrid
Tags: grid, toolbar

How to show DropDown with CRUD action list instead of showing individual items in toolbar?How to show DropDown in toolbar with CRUD operations instead of rendering toolbar icons.

This Knowledge Base explains the way, to place the dropdown by customizing the toolbar and to perform CRUD operations based on the selected item from the dropdown instead of showing individual items in toolbar.instead of rendering the default toolbar icons.













Using the create event of dropdown, we can disable some of the items like update, cancel at the initial load of dropdown as like it is done in the default toolbar icons of grid at the initial rendering

In the change event of dropdown, based on args.text value perform the CRUD operations with using some CRUD public methods of grid.


 In the change event of dropdown, for adding the a new row for grid it is enough to call the addRecord method of grid when args.text contains value is “add”.



Figure 1: Aadding the Data/Rows to the grid using dropdown.


Figure 2: Shown alert message when editing the grid without selecting any rows.


Figure 3: Normal Editing in grid and also disables the remaining items in dropdown which are not necessary to show.

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile