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 move the custom tool items in front position of Grid toolbar list?

In Grid, items added under the custom toolbar items will displayed after the default toolbar items. This is the default behavior. This can be rearranged and move the custom tools prior to the default toolbar items in the dataBound event of the Grid which has been discussed in this KB.

HTML:

 

JavaScript:

 

Razor:

 

Controller:

 

WebForms:

 

 

.Net Core

 

 

Template and CSS:

 

 

Grid toolbar separated the default items and custom items under two different ul elements. In the databound event, collect all the elements from second ul element (or custom item list). Prepend the required items to the first ul or to the default items.

 

Angular2:

 

TypeScript:

 

Figure 1. Grid with rearranged toolbar items.

Article ID: Published Date: Last Revised Date: Platform: Control:
9195 08/20/2018 08/21/2018 ASP.NET Core Grid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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