Search results

How To

25 Oct 2021 / 3 minutes to read

Set command customization

The htmlAttributes property of the Toolbar item is used to set the HTML attributes (‘ID’, ‘class’, ‘style’ ,‘role’) for the commands.

When style attributes are added, if the same attributes were already present, they will be replaced. This is not so in the case of class attribute. Classes will be added to the element instead of replacing the existing ones.

Single or multiple CSS classes can be added to the Toolbar commands using the Toolbar item cssClass property.

razor
customization.cs
Copied to clipboard
@Html.EJS().Toolbar("defaultToolbar").Items(ViewBag.Items).Render()
Copied to clipboard
public ActionResult Index()
{
    List<ToolbarItem> items = new List<ToolbarItem>();
    items.Add(new ToolbarItem { Text = "Bold", Type = ItemType.Button , HtmlAttributes = new HtmlAttributes { Class = "custom_bold", Id = "itemId" } });
    items.Add(new ToolbarItem { Text = "Italic", HtmlAttributes = new HtmlAttributes { Class = "custom_italic"} });
    items.Add(new ToolbarItem { Text = "Underline", HtmlAttributes = new HtmlAttributes { Class = "custom_underline" } });
    items.Add(new ToolbarItem { Type = ItemType.Separator });
    items.Add(new ToolbarItem { Text = "Uppercase", CssClass = "e-txt-casing" });
    ViewBag.Items = items;
    return View();
}

public class HtmlAttributes
{
    public string Class { get; set; }
    public string Id { get; set; }
}

Output be like the below.

Toolbar Control with customized commands

Set Essential JS 2 Tooltip to the commands

The tooltipText property of the Toolbar item is used to set the HTML Tooltip to the commands that can be viewed as hint texts on mouse hover.

To change the tooltipText to ej2-tooltip component:

  • Import the Tooltip module from ej2-popups,and initialize the Tooltip with the Toolbar target. Refer to the following code example:
razor
tooltip.cs
Copied to clipboard
@(Html.EJS().Toolbar("defaultToolbar")
    .Items(new List<ToolbarItem> {
        new ToolbarItem { Type = ItemType.Button, TooltipText = "Cut", Text = "Cut" },
        new ToolbarItem { Type = ItemType.Button, TooltipText = "Copy", Text = "Copy" },
        new ToolbarItem { Type = ItemType.Button, TooltipText = "Paste", Text = "Paste" },
        new ToolbarItem { Type = ItemType.Button, TooltipText = "Undo", Text = "Undo" },
        new ToolbarItem { Type = ItemType.Button, TooltipText = "Redo", Text = "Redo" }
    })
    .Render()
)
Copied to clipboard
public ActionResult Index()
{
    return View();
}

Output be like the below.

Toolbar Control with tooltip support

Set item-wise custom template

The Toolbar supports adding template commands using the template property. Template property can be given as the HTML element that is either a string or a query selector.

As a string

The HTML element tag can be given as a string for the template property. Here, the checkbox is rendered as a HTML template.

Copied to clipboard
template: "<div><input type='checkbox' id='check1' checked=''>Accept</input></div>"

As a selector

The template property also allows getting template content through query selector. Here, checkbox ‘ID’ attribute is specified in the template.

Copied to clipboard
template: "#Template"
razor
selector.cs
Copied to clipboard
@using Syncfusion.EJ2.Navigations;

<div>
    <div>
        @(Html.EJS().Toolbar("defaultToolbar")
            .Items(new List<ToolbarItem> {
                new ToolbarItem { Text = "Cut" },
                new ToolbarItem { Type = ItemType.Separator },
                new ToolbarItem { Text = "Paste" },
                new ToolbarItem { Type = ItemType.Separator },
                new ToolbarItem { Template = "<div><input type='checkbox' id='check1' checked=''>Accept</input></div>" },
                new ToolbarItem { Text = "Undo" },
                new ToolbarItem { Text = "Redo" },
                new ToolbarItem { Template = "#Template" }
            })
            .Width("330")
            .Render()
        )
    </div>
    <button id='Template' class='e-btn'>Template</button>
</div>
Copied to clipboard
public ActionResult Index()
{
    return View();
}

Add Toggle Button

Toolbar supports to add a toggle Button by using the template property. Refer below steps

  • By using Toolbar template property, pass required HTML String to render toggle button.
Copied to clipboard
template='<button class="e-btn" id="media_btn"></button>'
  • Now render the toggle Button into the targeted element in Toolbar created event handler and bind click event for it. On clicking the toggle Button, change the required icon and content based on current active state.
razor
togglebutton.cs
Copied to clipboard
@using Syncfusion.EJ2.Navigations;

@(Html.EJS().Toolbar("defaultToolbar")
    .Created("created")
    .Items(new List<ToolbarItem> {
        new ToolbarItem { Template = "<button class='e-btn' id='media_btn'></button>" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Template = "<button class='e-btn' id='zoom_btn'></button>" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Template = "<button class='e-btn' id='undo_btn'></button>" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Template = "<button class='e-btn' id='filter_btn'></button>" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Template = "<button class='e-btn' id='visible_btn'></button>" },
    })
    .Width("330px")
    .Render()
)

<style>
    /* Toolbar Styles */
    .e-hide-icon::before {
        content: '\eb23';
    }

    .e-filter-icon::before {
        content: '\e946';
    }

    .e-undo-icon::before {
        content: '\ebc5';
    }

    .e-play-icon::before {
        content: '\e328';
    }

    .e-zoomin-icon::before {
        content: '\ec31';
    }
</style>

<script type="text/javascript">
    function created() {
        zoomBtn = new ej.buttons.Button({ cssClass: `e-flat`, iconCss: 'e-icons e-zoomin-icon', isToggle: true });
        zoomBtn.appendTo('#zoom_btn');

        mediaBtn = new ej.buttons.Button({ cssClass: `e-flat`, iconCss: 'e-icons e-play-icon', isToggle: true });
        mediaBtn.appendTo('#media_btn');

        undoBtn = new ej.buttons.Button({ cssClass: `e-flat`, iconCss: 'e-icons e-undo-icon', isToggle: true });
        undoBtn.appendTo('#undo_btn');

        filterBtn = new ej.buttons.Button({ cssClass: `e-flat`, iconCss: 'e-icons e-filter-icon', isToggle: true });
        filterBtn.appendTo('#filter_btn');

        visibleBtn = new ej.buttons.Button({ cssClass: `e-flat`, iconCss: 'e-icons e-hide-icon', isToggle: true, content: 'Hide' });
        visibleBtn.appendTo('#visible_btn');

        document.getElementById('zoom_btn').onclick = () => {
            if (document.getElementById('zoom_btn').classList.contains('e-active')) {
                zoomBtn.iconCss = 'e-icons e-zoomout-icon';
            } else {
                zoomBtn.iconCss = 'e-icons e-zoomin-icon';
            }
        };
        document.getElementById('media_btn').onclick = () => {
            if (document.getElementById('media_btn').classList.contains('e-active')) {
                mediaBtn.iconCss = 'e-icons e-pause-icon';
            } else {
                mediaBtn.iconCss = 'e-icons e-play-icon';
            }
        };
        document.getElementById('undo_btn').onclick = () => {
            if (document.getElementById('undo_btn').classList.contains('e-active')) {
                undoBtn.iconCss = 'e-icons e-redo-icon';
            } else {
                undoBtn.iconCss = 'e-icons e-undo-icon';
            }
        };
        document.getElementById('filter_btn').onclick = () => {
            if (document.getElementById('filter_btn').classList.contains('e-active')) {
                filterBtn.iconCss = 'e-icons e-filternone-icon';
            } else {
                filterBtn.iconCss = 'e-icons e-filter-icon';
            }
        };
        document.getElementById('visible_btn').onclick = () => {
            if (document.getElementById('visible_btn').classList.contains('e-active')) {
                document.getElementById('content').style.display = 'none';
                visibleBtn.content = 'Show';
                visibleBtn.iconCss = 'e-icons e-show-icon';
            } else {
                document.getElementById('content').style.display = 'block';
                visibleBtn.content = 'Hide';
                visibleBtn.iconCss = 'e-icons e-hide-icon';
            }
        };
    }
</script>
Copied to clipboard
public ActionResult Index()
{
    return View();
}

How to customize toolbar scrollStep

Toolbar supports to customize the scrolling distance when you click the left and right side navigation icons. Through beforeCreate event we can customize scrollStep property for scrolling distance. Please Refer below steps

  • By using Toolbar scrollStep property, pass a required value to customize toolbar scrollStep.
Copied to clipboard
function beforeCreate(e) {
    e.scrollStep = 50;
}
  • Now customize the scrollStep value in Toolbar beforeCreate event handler.
razor
scrollstep.cs
Copied to clipboard
@using Syncfusion.EJ2.Navigations;

@(Html.EJS().Toolbar("defaultToolbar")
    .Items(new List<ToolbarItem> {
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-cut-icon tb-icons", TooltipText = "Cut" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-copy-icon tb-icons", TooltipText = "Copy" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-paste-icon tb-icons", TooltipText = "Paste" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-bold-icon tb-icons", TooltipText = "Bold" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-underline-icon tb-icons", TooltipText = "Underline" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-italic-icon tb-icons", TooltipText = "Italic" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-color-icon tb-icons", TooltipText = "Color-Picker" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-alignleft-icon tb-icons", TooltipText = "Align-Left" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-alignright-icon tb-icons", TooltipText = "Align-Right" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-aligncenter-icon tb-icons", TooltipText = "Align-Center" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-alignjustify-icon tb-icons", TooltipText = "Align-Justify" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-bullets-icon tb-icons", TooltipText = "Bullets" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-numbering-icon tb-icons", TooltipText = "Numbering" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-ascending-icon tb-icons", TooltipText = "Sort A - Z" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-descending-icon tb-icons", TooltipText = "Sort Z - A" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-upload-icon tb-icons", TooltipText = "Upload" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-download-icon tb-icons", TooltipText = "Download" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-indent-icon tb-icons", TooltipText = "Text Indent" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-outdent-icon tb-icons", TooltipText = "Text Outdent" },
        new ToolbarItem { Type = ItemType.Separator },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-clear-icon tb-icons", TooltipText = "Clear" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-reload-icon tb-icons", TooltipText = "Reload" },
        new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-export-icon tb-icons", TooltipText = "Export" },
    })
    .Width("600")
    .ScrollStep("50")
    .Render()
)

<style>
    @@font-face {
        font-family: 'Material_toolbar';
        src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMj1tShMAAAEoAAAAVmNtYXDoMOjqAAACDAAAAHhnbHlmIuy19QAAAswAACNMaGVhZA6okZMAAADQAAAANmhoZWEIUQQkAAAArAAAACRobXR4jAAAAAAAAYAAAACMbG9jYYc0kUIAAAKEAAAASG1heHABOwG8AAABCAAAACBuYW1lx/RZbQAAJhgAAAKRcG9zdJZeEVUAACisAAACGAABAAAEAAAAAFwEAAAAAAAD9AABAAAAAAAAAAAAAAAAAAAAIwABAAAAAQAAAQsu/F8PPPUACwQAAAAAANXLJlEAAAAA1csmUQAAAAAD9AP0AAAACAACAAAAAAAAAAEAAAAjAbAADgAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5wDnIQQAAAAAXAQAAAAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAACAAAAAwAAABQAAwABAAAAFAAEAGQAAAAEAAQAAQAA5yH//wAA5wD//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAbABwAHQAeAB8AIAAhACIAAAAAADIAjgFwAfgCIAKYAxIDSAO2BRYFMAVcBnIGugb2ByoHQgguCNYJRgn6CiQKiAquCsgMFgzADOYNzg7WDvAQyBEyEaYABwAAAAA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HQAcgBvACAAUwB0AHUAZABpAG8AdwB3AHcALgBzAHkAbgBjAGYAdQBzAGkAbwBuAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwEcAR0BHgEfASABIQEiASMBJAAQVGV4dF9PdXRkZW50XzAwMQtQaWN0dXJlXzAwMQxTZXR0aW5nc18wMDEQQ29sb3JfcGlja2VyXzAwMhBBbGlnbl9DZW50ZXJfMDA2CExpbmVfMDAxDVVuZGVybGluZV8wMDEMU29ydF9aLUFfMDAxCFVuZG9fMDAxEENoYXJ0X2J1YmJsZV8wMDELRG93bmxvYWRfMDAPVGV4dF9pbmRlbnRfMDAxEkNoYXJ0X0RvdWdobnV0XzAwMQlDbGVhcl8wMDINTnVtYmVyaW5nXzAwMQxTb3J0X0EtWl8wMDEKSXRhbGljXzAwMQtCdWxsZXRzXzAwMQlQYXN0ZV8wMDEIUmVkb18wMDEPQ2hhcnRfcmFkYXJfMDAxD0FsaWduX1JpZ2h0XzAwMQlUYWJsZV8wMDEOQWxpZ25fTGVmdF8wMDEITWVudV8wMDEHQ3V0XzAwMghCb2xkXzAwMRFBbGlnbl9KdXN0aWZ5XzAwMQpSZWxvYWRfMDAxClNlYXJjaF8wMDEKVXBsb2FkXzAwMQpEZXNpZ25fMDA1CkV4cG9ydF8wMDEIQ29weV8wMDIAAA==) format('truetype');
        font-weight: normal;
        font-style: normal;
    }

    .e-bigger .e-tbar-btn .tb-icons {
        font-size: 18px;
    }

    .e-tbar-btn .tb-icons {
        font-family: 'Material_toolbar';
        speak: none;
        font-size: 16px;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
    }

        .e-tbar-btn .tb-icons.e-numbering-icon {
            font-size: 17px;
        }

    .e-cut-icon:before {
        content: "\e719"
    }

    .e-copy-icon:before {
        content: "\e721"
    }

    .e-paste-icon:before {
        content: "\e712"
    }

    .e-color-icon:before {
        content: "\e703";
    }

    .e-bold-icon:before {
        content: "\e71a"
    }

    .e-underline-icon:before {
        content: "\e706";
    }

    .e-alignleft-icon:before {
        content: "\e717"
    }

    .e-alignright-icon:before {
        content: "\e715"
    }

    .e-aligncenter-icon:before {
        content: "\e704"
    }

    .e-alignjustify-icon:before {
        content: "\e71b"
    }

    .e-upload-icon:before {
        content: "\e71e"
    }

    .e-download-icon:before {
        content: "\e70a"
    }

    .e-indent-icon:before {
        content: "\e70b"
    }

    .e-outdent-icon:before {
        content: "\e700"
    }

    .e-clear-icon:before {
        content: "\e70d"
    }

    .e-reload-icon:before {
        content: "\e71c"
    }

    .e-export-icon:before {
        content: "\e720";
    }

    .e-italic-icon:before {
        content: "\e710"
    }

    .e-bullets-icon:before {
        content: "\e711";
    }

    .e-numbering-icon:before {
        content: "\e70e";
    }

    .e-ascending-icon:before {
        content: "\e70f";
    }

    .e-descending-icon:before {
        content: "\e707";
    }

    .control-wrapper {
        flex-direction: inherit
    }

    .e-sample-resize-container {
        height: 42px;
    }

    @@media only screen and (min-width: 1224px) {
        .e-sample-resize-container {
            width: 75%;
        }
    }

    @@media only screen and (min-width: 1824px) {
        .e-sample-resize-container {
            width: 50%;
        }
    }

    .material .e-bigger .e-toolbar .e-tbar-btn .e-icons {
        font-size: 18px;
    }

    .material .e-toolbar .e-tbar-btn .e-icons {
        font-size: 16px;
    }
</style>
Copied to clipboard
public ActionResult Index()
{
    return View();
}