0.0.1-beta2 • Published 6 years ago

p-table-responsive-scroll v0.0.1-beta2

Weekly downloads
205
License
MIT
Repository
github
Last release
6 years ago

p-table-responsive-scroll

This project provides a directive for a primeng p-table that allows it to work correctly when scrollHeight="100%". It is packaged as a directive and based on the solution here: primeng TurboTable (p-table) does not work properly with scrollHeight='100%'

license downloads

Usage

install the package:

npm install --save p-table-responsive-scroll

import the ResponsiveScrollModule into your module:

import { ResponsiveScrollModule } from 'p-table-responsive-scroll';

imports: [BrowserModule, TableModule, ResponsiveScrollModule]

use the responsive-scrolling directive in your component:

<p-table responsive-scrolling [columns]="cols" [value]="shortList" [scrollable]="true" scrollHeight="100%">

Versions

use beta versions with angular Angular 8