operations

defines an object with custom operations

object operations;

Example

webix.ui({
  view: "pivot",
  operations: {
    floor: v => v.reduce((acc, a) => acc + Math.floor(a), 0),
  },
  // config
});

Related samples

Details

When defining a new operation make sure to provide a corresponding label for it in locales.

// localized label for new operation
pivot.locales.en = {
  floor: "floor",
};
See also
Back to top