# p-table-responsive-scroll

> An Angular directive for primeng p-table scrollHeight=100% resizing

Latest version **9.0.3** (published 2020-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install p-table-responsive-scroll
pnpm add p-table-responsive-scroll
yarn add p-table-responsive-scroll
bun add p-table-responsive-scroll
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 9.0.3 |
| Published | 2020-04-04 |
| First published | 2020-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 88.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | remackgeek |
| Maintainers | remackgeek |
| Keywords | angular, primeng, p-table, scrollHeight, resize |

## Links

- npm: https://www.npmjs.com/package/p-table-responsive-scroll
- Repository: https://github.com/remackgeek/p-table-responsive-scroll
- Issues: https://github.com/remackgeek/p-table-responsive-scroll/issues
- npm.io page: https://npm.io/package/p-table-responsive-scroll

## Dependencies (1)

- [resize-observer-polyfill](https://npm.io/package/resize-observer-polyfill.md) ^1.5.1

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 9.0.3 (latest) — 2020-04-04
- 0.0.1-beta2 (beta) — 2020-03-22
- 9.0.2 — 2020-04-03
- 8.0.0 — 2020-03-22
- 0.0.1-beta1 — 2020-03-15

## README

# 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](https://github.com/primefaces/primeng/issues/5235)

This is partially based on the solution here:

[primeng TurboTable (p-table) does not work properly with scrollHeight='100%'](https://stackoverflow.com/questions/54200024/primeng-turbotable-p-table-does-not-work-properly-with-scrollheight-100)

![license](https://img.shields.io/npm/l/p-table-responsive-scroll.svg) ![downloads](https://img.shields.io/npm/dt/p-table-responsive-scroll.svg)

## 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

---
_Source: https://npm.io/package/p-table-responsive-scroll · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
