menuFilter

filters menu items before showing a menu on the page

function menuFilter;

Example

webix.ui({
  view:"filemanager",
  data:filemanager_data,
  menuFilter(obj){
    return obj.batch !== "item" // hides item-related actions
  }
});

Details

The function should return true to show the item, false to hide it.

See also
Back to top