mode

defines current display mode

string mode;

Values

  • "table"
  • "tree"
  • "chart"
  • Example

    webix.ui({
      view: "pivot",
      id: "pivot1",
      // chart is displayed initially
      mode: "chart", });
     
    $$("pivot1").config.mode = "table";


    Default value:

    "tree"

    Related samples

    Details

    The reactive property sets the currently/initially visible tab. Refreshing is not required as the change will be applied immediately.

    You can also access and alter this property via the widget state:

    $$("pivot1").getState().mode = "tree";
    See also
    Back to top