In some cases, it is necessary to add custom toolbar in Grid for custom functionality on toolbar button/icon/link.
Custom Toolbar is a key functionality used to customize Toolbar elements. The Toolbar is customized with any additional functionalities like buttons, icons and links etc., and corresponding actions are performed in the toolbarClick event of the Grid.
Initializing the custom Toolbar in the Grid
Adding custom icons to the Toolbar
A custom icon bold is added to the Toolbar and style is applied to it.
The selected record details are toggled with font-weight bold on clicking bold icon in the Grid Toolbar.
Figure 1: Selected record details are toggled with font-weight bold
Adding Buttons to the Toolbar
The selected Record details are rendered in a dialog on clicking the details button bounded to the Toolbar.
Figure 2: Selected Record details are rendered in a dialog
Adding Links to the toolbar
The Grid content is refreshed on clicking the refresh link bounded to the Grid Toolbar.
Figure 3: Grid content is refreshed
This page will automatically be redirected to the sign-in page in 10 seconds.