From fe24e8f46c299df6c86ece30fb12ffb1106b7fad Mon Sep 17 00:00:00 2001 From: tbshag2 Date: Tue, 2 Jul 2024 13:56:51 +0300 Subject: [PATCH] [update] working with data examples fixed --- README.md | 2 -- docs/guides/working-with-data.md | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 92dd043..123ae4e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@

DHTMLX Pivot Documentation

-TODO!!! - ## Explore documentation locally To run the Pivot documentation locally, take the following steps: diff --git a/docs/guides/working-with-data.md b/docs/guides/working-with-data.md index 7561efb..a7cfce4 100644 --- a/docs/guides/working-with-data.md +++ b/docs/guides/working-with-data.md @@ -34,7 +34,7 @@ Create the Pivot structure using the [`config`](/api/config/config-property) pro Example: -~~~jsx {4-15} +~~~jsx {4-18} const widget = new pivot.Pivot("#pivot", { fields, data, @@ -58,7 +58,7 @@ const widget = new pivot.Pivot("#pivot", { ## Sorting data -The widget API allows configuring the sorting settings that are applied applied to all areas (values, columns and rows) during aggregation. The sorting in UI is enabled by clicking the column header. +The widget API allows configuring the sorting settings that are applied to all areas (values, columns and rows) during aggregation. The sorting in UI is enabled by clicking the column header. To set default sorting values, apply the **sort** parameter of the [`fields`](/api/config/fields-property) property. It accepts either the "asc" or "desc" value, or a custom sorting function. @@ -549,6 +549,6 @@ const widget = new pivot.Pivot("#pivot", { ## Example -In this snippet you can see how to apply maths operations: +In this snippet you can see how to apply custom maths operations: