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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show DropDown with CRUD action list instead of showing individual items in 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.

Article ID: Published Date: Last Revised Date: Platform: Control:
7173 12/16/2016 12/27/2016 JavaScript ejGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

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

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