menu

adds a dropdown menu at the top of SpreadSheet

boolean|array menu;

Example

webix.ui({
    view:"spreadsheet",
    data: math_data_simple,
    menu: true
});

Related samples

Details

If set to true, the property adds a default menu. To customize it,the menu property must be an array of strings (for a one-level menu):

webix.ready(function(){
  webix.ui({
    view:"spreadsheet",
    data:base_data,
    menu:["add-image-cell",  "add-image-top"]
  });
});

Or an array of objects (for a multi-level menu):

menu: [
  {
    id: "insert",
    submenu: [
      {
        id: "image",
        submenu: [{ id: "add-image-cell" }, { id: "add-image-top" }],
      },
    ],
  },
  { id: "data", submenu: [{ id: "create-filter" }] },
];
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of spreadsheet javascript library product.