Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Bilal Shafi <[email protected]>
  • Loading branch information
MBilalShafi authored Jan 16, 2024
1 parent b0e9b99 commit 65a810c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/data-grid/faq/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ See more about the `renderCell` method in the [rendering cells](/x/react-data-gr

It is a function that allows you to derive the cell value from the row data. It is the most performant way to customize the cell content. It is also the only way to customize the cell value without changing the row data. It should be used when you need to derive the cell value from the row data. Common use cases are:

- Transforming the value (e.g convert a decimal value to percentage value)
- Transforming the value (e.g. convert a decimal value to a percentage value)
- Deriving the value from multiple fields (e.g. concatenating first name and last name)
- Deriving the value from a nested field (e.g. `user.address.city`)

This value is also used internally in the Grid to do filtering, sorting and rendering (if no `renderCell` or `valueFormatter` is provided). You can know more about it in the [value getter](/x/react-data-grid/column-definition/#value-getter) section.
This value is also used internally in the Grid to filter, sort, and render (if no `renderCell` or `valueFormatter` is provided). You can learn more about it in the [value getter](/x/react-data-grid/column-definition/#value-getter) section.

### `valueFormatter`

Expand Down

0 comments on commit 65a810c

Please sign in to comment.