Skip to content

Commit 70036d9

Browse files
committed
[update] links fixed
1 parent 9b03b59 commit 70036d9

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

docs/api/config/tableshape-property.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ tableShape?: {
5454
- `headerHeight` - (optional) the header height in pixels; the default value is 30
5555
- `footerHeight` - (optional) the footer height in pixels; the default value is 30
5656
- `colWidth` - (optional) the column width in pixels; the default value is 150
57-
- `cellStyle` - (optional) the function that applies a custom style to a cell; the function has the next parameters:
57+
- `cellStyle` - (optional) a function that applies a custom style to a cell; the function has the next parameters:
5858
- `field` - (required) a string representing the field name for which the style is applied
5959
- `value` - (required) the value of the cell (the actual data for that particular row and column)
6060
- `area` - (required) a string indicating the area of the table where a cell resides ("rows", "columns" or "values" area)

docs/guides/stylization.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can also apply a custom style to the scroll bar of Pivot. For this, you can
100100

101101
## Cell style
102102

103-
To apply a CSS class to a cell, use the `cellStyle` parameter of the [`tableShape`](/api/properties/tableshape-property) property. The `cellStyle` function returns a string, which can be used as a CSS class name to apply specific styles to a cell. In the example provided, if the `method` contains "count", it will return the string "count", which is associated with a CSS class *.count* that has the font-weight of 600. In the example we also apply number formatters:
103+
To apply a CSS class to a cell, use the `cellStyle` parameter of the [`tableShape`](/api/config/tableshape-property) property. The `cellStyle` function returns a string, which can be used as a CSS class name to apply specific styles to a cell. In the example provided, if the `method` contains "count", it will return the string "count", which is associated with a CSS class *.count* that has the font-weight of 600. In the example we also apply number formatters:
104104
- `numOptions` ensures that numbers are displayed with exactly two decimal places, regardless of their value
105105
- `new Intl.NumberFormat("en-US", numOptions)` creates a number formatter for the US locale ("en-US") using the options defined in `numOptions`. It also creates another number formatter specifically for formatting numbers as Euro currency (currency: "EUR") in the US locale with two decimal places. More about number formatting, see here: [Number formatting](/guides/localization/#number-formatting).
106106

@@ -208,7 +208,6 @@ By default, numbers are justified against the end of a cell (aligned to the righ
208208
~~~
209209

210210

211-
212211
## Example
213212

214213
In this snippet you can see how to apply a custom style to Pivot

docs/news/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ New properties do not fully duplicate the previous ones but provide more extende
4343
- Sorting: [sorting fields](https://docs.dhtmlx.com/pivot/1-5/guides__configuration.html#configuringfields) -> [sorting data](/guides/working-with-data#sorting-data)
4444
- Tree mode: [gridMode](https://docs.dhtmlx.com/pivot/1-5/guides__configuration.html#gridmode) -> [enabling tree mode](/guides/configuration#enabling-the-tree-mode)
4545
- Date format: [configuring date fields](https://docs.dhtmlx.com/pivot/1-5/guides__configuration.html#configuringdatefields) ->
46-
[setting date format](/guides/loading-exporting-data#setting-date-format)
46+
[setting date format](/guides/localization#date-formatting)
4747
- Customization:
4848
- [cells formatting](https://docs.dhtmlx.com/pivot/1-5/guides__customization.html#conditionalformattingofcells) -> [cells style](/guides/stylization#cell-style)
4949
- [templates for headers](https://docs.dhtmlx.com/pivot/1-5/guides__customization.html#settingtemplatesforheaders) ->

docs/news/whats-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ For tips about migration to the new version, check the [Migration](/news/migrati
6363
- [limiting loaded data](/guides/working-with-data#limiting-loaded-data)
6464
- more [operations with data](/guides/working-with-data#applying-maths-methods) are available
6565
- [processing data with predicates](/guides/working-with-data#processing-data-with-predicates) - applying custom pre-processing functions for data
66-
- [setting date format via locale](/guides/loading-exporting-data#setting-date-format)
66+
- [setting date format via locale](/guides/localization#date-formatting)
6767
- New methods are added: [`getTable()`](/api/methods/gettable-method), [`setConfig()`](/api/methods/setconfig-method), [`setLocale()`](/api/methods/setlocale-method), [`showConfigPanel()`](/api/methods/showconfigpanel-method)
6868
- New events are added: [`add-field`](/api/events/add-field-event), [`delete-field`](/api/events/delete-field-event), [`open-filter`](/api/events/open-filter-event), [`render-table`](/api/events/render-table-event), [`move-field`](/api/events/move-field-event), [`show-config-panel`](/api/events/show-config-panel-event), [`show-config-panel`](/api/events/show-config-panel-event), [`update-config`](/api/events/update-config-event), [`update-value`](/api/events/update-value-event).

0 commit comments

Comments
 (0)