← DataGrid API

Interface · v2.7.1

NgbColumnReorderEvent

NgbColumnReorderEvent interface exported by the ngbootstrap package API.

Import

import type { NgbColumnReorderEvent } from '@angular-bootstrap/ngbootstrap';

Declaration

interface NgbColumnReorderEvent<T = unknown>

Properties

columns

Visible columns in their new order.

columns: Array<{ field: string; header: string; } & Record<string, unknown>>

column

Column that was moved.

column: T

fromIndex

fromIndex: number

toIndex

toIndex: number

fields

Ordered field names after the move.

fields: string[]
Source: src/datagrid/src/datagrid.types.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.