Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 83278ac

Browse files
authored
docs: improve formatters doc
1 parent 2e279f0 commit 83278ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/column-functionalities/Formatters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
`Formatters` are functions that can be used to change and format certain column(s) in the grid. Please note that it does not alter the input data, it simply changes the styling by formatting the data differently to the screen (what the user visually see).
1818

19-
A good example of a `Formatter` could be a column name `isActive` which is a `boolean` field with input data as `True` or `False`. User would prefer to simply see a checkbox as a visual indication representing the `True` flag, for this behavior you can use `Formatters.checkmarkMaterial` which will use Material Design icon of `mdi-check` when `True` or an empty string when `False`.
19+
A good example of a `Formatter` could be a timestamp or a `Date` object that we could format differently in the grid, for example using `Formatters.dateIso` or `Formatters.dateUs` which is more human readable.
2020

2121
#### Provided Formatters
2222

0 commit comments

Comments
 (0)