# InferredColumnResult

> _Since v0.1.1_

Result of automatic column inference from sample rows.

When no columns are configured, the grid analyzes the first row of data
to automatically generate column definitions with inferred types.

#### Example

```typescript
// Automatic inference (no columns configured)
grid.rows = [
  { name: 'Alice', age: 30, active: true, hireDate: new Date() },
];
// Grid infers:
// - name: type 'string'
// - age: type 'number'
// - active: type 'boolean'
// - hireDate: type 'date'

// Access inferred result programmatically
const config = await grid.getConfig();
console.log(config.columns); // Inferred columns
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `columns` | <code><a href="/grid/api/core/types/columnconfigmap/">ColumnConfigMap</a>&lt;TRow&gt;</code> | Generated column configurations based on data analysis |
| `typeMap` | <code>Record&lt;string, <a href="/grid/api/core/types/columntype/">ColumnType</a>&gt;</code> | Map of field names to their inferred types |

## See Also

- [`ColumnConfig`](/grid/api/core/interfaces/columnconfig.md) for column configuration options
- [`ColumnType`](/grid/api/core/types/columntype.md) for type inference rules
