p-table-responsive-scroll
TypeScript icon, indicating that this package has built-in type declarations

9.0.3 • Public • Published

p-table-responsive-scroll

This project provides a directive to address this issue with the primeng p-table:

#5235 - Table (TurboTable) does not adjust scrollHeight after parent height change

This is partially 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 version 9.x with angular Angular 9

use version 8.x with angular Angular 8

Package Sidebar

Install

npm i p-table-responsive-scroll

Weekly Downloads

133

Version

9.0.3

License

MIT

Unpacked Size

91 kB

Total Files

23

Last publish

Collaborators

  • remackgeek