Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ng-table-resize

AramPqo53MIT1.0.5TypeScript support: included

This library for resizing table cells

angular, table, dataTable, tableResize, resize, ngTableResize, angularTableResize, resizeTable, table resize, ng table resize, angular 2 table resize, angular table resize

readme

Table resizer for Angular

Installation

npm install ng-table-resize

Usage example

Just need to add tableResiaze directive to the table

<table tableResize>
    ...
</table>

app.module.ts

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';

import { ResizeModule } from 'ng-table-resize';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    ResizeModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Inputs

fixed: Default false

False

Alt Text

True

if true Columns change independently of each other Alt Text

Class

the resizing-line has resize-handle, with which you can change styles