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


## GridFooterCollection

Collection model for grid footer area

**Signature:**

```typescript
export interface GridFooterCollection
```

## Remarks

Displays the footer of the grid or creates and manages multiple footers.

This is an object returned from [GridBase.footers](/refs/Class/GridBase#footers).

## Example


```js
//object
gridView.setFooters({
      visible: true;
      items:[
          {
              styleName: 'custom-footer-1'
          }, {
              styleName: 'custom-footer-2'
          }
      ]
})
// or specified in array format
gridView.setFooters([
      {
          styleName: 'custom-footer-1'
      }, {
          styleName: 'custom-footer-2'
      }
])
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [count](/refs/Interface/GridFooterCollection#count) | number | Returns the number of currently set footers. |
| [items](/refs/Interface/GridFooterCollection#items) | [GridFooter](/refs/Interface/GridFooter){/* */}\[\] | Set gridFooter. |
| [visible](/refs/Interface/GridFooterCollection#visible) | boolean | Display status |
| [visibleCount](/refs/Interface/GridFooterCollection#visiblecount) | number | Returns the number of footers whose visibility is `true`{/* */} among the currently set footers. |

## Methods

| Method | Type | Description |
| --- | --- | --- |
| [get(index)](/refs/Interface/GridFooterCollection#get) | get?(index: number): [GridFooter](/refs/Interface/GridFooter){/* */}; | Returns the footer of the corresponding index. |
| [getVisible(index)](/refs/Interface/GridFooterCollection#getvisible) | getVisible?(index: number): [GridFooter](/refs/Interface/GridFooter){/* */}; | Retrieves the footer corresponding to the display order. |

## Properties Desc

### count

Returns the number of currently set footers.

`Type` - number

<hr/>

### items

Set gridFooter.

`Type` - [GridFooter](/refs/Interface/GridFooter){/* */}\[\]

<hr/>

### visible

Display or not

`Type` - boolean

<hr/>

### visibleCount

Returns the number of footers whose visibility is `true`{/* */} among the currently set footers.

`Type` - number

<hr/>

## Method Desc

### get

Returns the footer of the corresponding index.

**\[Parameter List\]**

`index` - number

index of footer

**\[Return Value\] -** [GridFooter](/refs/Interface/GridFooter)

**Remarks:**

Returns [GridFooter](/refs/Interface/GridFooter){/* */}.

<hr/>

### getVisible

Retrieves the footer corresponding to the display order.

**\[Parameter List\]**

`index` - number

The display order starts from `0`{/* */}.

**\[Return Value\] -** [GridFooter](/refs/Interface/GridFooter)

**Remarks:**

Returns [GridFooter](/refs/Interface/GridFooter){/* */}.

<hr/>