toolbarBlocks

specifies blocks of buttons that will be shown in the toolbar of spreadsheet

array toolbarBlocks;

Example

var spreadsheet = new dhx.Spreadsheet(document.body, {
    // full toolbar
    toolbarBlocks: [
        "undo","colors","decoration","align","help",
        "lock", "clear", "rows", "columns"
    ]
});


Default value:

["undo","colors","decoration","align","help"]

Related samples

Details

You can specify your own structure of the toolbar by enumerating necessary elements in the toolbarBlocks array in the desired order, for example:

var spreadsheet = new dhx.Spreadsheet("cont", {
    toolbarBlocks: ["help","colors", "align", "decoration", "lock", "clear"]
});

Custom toolbar

Check how you can customize the toolbar.

See also
Back to top