# isLoadingPlaceholder

> _Since v3.9.1_

Type guard for ServerSide loading placeholders.

With the default `placeholderRendering: 'loading-row'` the grid renders placeholders
itself, so column renderers, value accessors, `format` and `rowClass` are never called
for them while rendering. Use this guard where placeholders still reach your code: with
`placeholderRendering: 'columns'` (including a Responsive `cardRenderer`), in a
`sortComparator` or `gridConfig.sortHandler` under `sortMode: 'local'`, in Export
`mode: 'formatted'` / `processCell` and Clipboard copy (which call `format`), or when
reading `grid.rows` directly.

```ts
function isLoadingPlaceholder(row: unknown): row
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `row` | <code>unknown</code> |  |

## Example

```ts
import { isLoadingPlaceholder } from '@toolbox-web/grid/plugins/server-side';

const loaded = grid.rows.filter((row) => !isLoadingPlaceholder(row));
```
