Component UI Configurations

Keikai UI has several parts:

Configure by Data Attributes

Their visibility are configurable through data attributes:

  • data-show-context-menu
  • data-show-toolbar
  • data-show-sheet-tabs
  • data-show-formula-bar
  • data-show-sheet-controls

For example, to hide built-in context menu:

<div id="spreadsheet" data-show-context-menu="false"/>

Configure by API

spreadsheet.getUIService().showToolbar(false);

Check UIService for full method lists.

Hide Protected Sheet Warning

spreadsheet.getUIService().setProtectedSheetWarningEnabled(false);

Comments