## Cell and Row Formatting

This sample shows how to customize cell contents using the cellFormatter option in the column object.

The cellFormatter option allows you to specify a function that creates the element displayed in each cell. In this sample, the formatter is used to populate the "Flag" column and to format cells with discounts greater than 25% in bold red.

Formatters give you tremendous flexibility since they can be used to customize the content created by the grid or to create new HTML content for each cell.