{/* Do not edit this file. It is automatically generated by API Documenter. */}


## ColumnSummaryStyleObject

One of the style models that should be returned when changing the cell style with [CellStyleCallback](/refs/realgrid#cellstylecallback)

**Signature:**

```typescript
export interface ColumnSummaryStyleObject
```

## Remarks

Used in [GridFooter.cellStyleCallback](/refs/Interface/GridFooter#cellstylecallback){/* */}, [HeaderSummary.cellStyleCallback](/refs/Interface/HeaderSummary#cellstylecallback).

## Example


```js
// Apply footer
const f = function (grid, cell) {
      return {
          styleName: 'custom-footer'
      }
}
footer.cellStyleCallback = f;

const f2 = function (grid, cell) {
      return {
          styleName: 'custom-summary'
      }
}

headerSummary.cellStyleCallback = f2;
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [booleanFormat](/refs/Interface/ColumnSummaryStyleObject#booleanformat) | string | When the value is of type Boolean, Format |
| [datetimeFormat](/refs/Interface/ColumnSummaryStyleObject#datetimeformat) | string | When the value is in date format, Format |
| [exportStyleName](/refs/Interface/ColumnSummaryStyleObject#exportstylename) | string | Style name to be applied when exporting to Excel |
| [numberFormat](/refs/Interface/ColumnSummaryStyleObject#numberformat) | string | When the value is in numeric format, Format |
| [prefix](/refs/Interface/ColumnSummaryStyleObject#prefix) | string | Text to be displayed in front of the value |
| [styleName](/refs/Interface/ColumnSummaryStyleObject#stylename) | string | style name |
| [suffix](/refs/Interface/ColumnSummaryStyleObject#suffix) | string | Text to be added to the end of the value |
| [text](/refs/Interface/ColumnSummaryStyleObject#text) | string | Text to be displayed in cell |
| [textFormat](/refs/Interface/ColumnSummaryStyleObject#textformat) | string | When the value is in text format, Format |

## Properties Desc

### booleanFormat

Formatting when the value is of type Boolean

`Type` - string

**Remarks:**

If this value is specified, it is used as a conversion format when outputting the value of a boolean field.

If not specified, the value set in the data field is used.

Separated with a colon (:) or semicolon (;), the left side is `false`{/* */}, and the right side is `true`{/* */}.

Example) `'Nub: Yub'`

<hr/>

### datetimeFormat

Format when the value is in date format

`Type` - string

<hr/>

### exportStyleName

Style name to be applied when exporting to Excel

`Type` - string

<hr/>

### numberFormat

Format when the value is in numeric format

`Type` - string

<hr/>

### prefix

Text to display in front of the value

`Type` - string

<hr/>

### styleName

style name

`Type` - string

<hr/>

### suffix

Text to be added to the end of the value

`Type` - string

<hr/>

### text

셀에 표시될 텍스트

`Type` - string

**Remarks:**

text가 지정되면 [ColumnSummary.expression](/refs/Interface/ColumnSummary#expression){/* */}과 [ColumnSummary.text](/refs/Interface/ColumnSummary#text) 속성은 무시된다.

<hr/>

### textFormat

Formatting when the value is in text format

`Type` - string

<hr/>