package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiSheetsV4Model.PivotGroupSortValueBucketSource

Sourcetype t = {
  1. valuesIndex : int;
    (*

    The offset in the PivotTable.values list which the values in this grouping should be sorted by.

    *)
  2. buckets : ExtendedValue.t list;
    (*

    Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group & two column groups, the row group can list up to two values. The first value corresponds to a value within the first column group, and the second value corresponds to a value in the second column group. If no values are listed, this would indicate that the row should be sorted according to the "Grand Total" over the column groups. If a single value is listed, this would correspond to using the "Total" of that bucket.

    *)
}
Sourceval valuesIndex : (t, int) GapiLens.t
Sourceval buckets : (t, ExtendedValue.t list) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t