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

Package detail

@ui-grid/auto-resize

angular-ui317MIT4.12.7

This module provides auto-resizing functionality to UI-Grid

angular, ng-grid, nggrid, grid, angularjs, slickgrid, kogrid, ui-grid, ui grid, data grid, ui-grid/auto-resize

readme

UI-Grid Auto Resize

The auto-resize plugin for UI-Grid enables the grid to resize itself when its container changes size.

Note: This plugin works by adding a checker on 250ms interval that sees if the grid element has changed in size. It could potentially affect the performance of your site or application negatively.

Getting Started

You can install @ui-grid/auto-resize via:

npm i --save @ui-grid/auto-resize

Once you install you need to load our main file bellow your @ui-grid/core file as seen bellow:

<script src="/node_modules/@ui-grid/core/js/ui-grid.core.min.js">
<script src="/node_modules/@ui-grid/auto-resize/js/ui-grid.auto-resize.min.js">

Alternatively, if you are using Webpack or RequireJS to load your dependencies, you can do the following at the top of the file that needs it:

require('@ui-grid/core');
require('@ui-grid/auto-resize');

Once you load the file, you need to include 'ui.grid.autoResize' module in your angularJS app's dependencies, and add the ui-grid-auto-resize directive to your grid element.

angular.module('myApp', [
    'ui.grid',
    'ui.grid.autoResize'
]);
<div ui-grid="$ctrl.gridOptions" ui-grid-auto-resize>

Example

You can find an example of this plugin in action on our website

License

MIT

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.12.7 (2024-04-12)

Bug Fixes

  • core: remove upper limit for AngularJs (5517031)

4.12.5 (2024-04-11)

Note: Version bump only for package @ui-grid/auto-resize

4.12.4 (2023-08-17)

Note: Version bump only for package @ui-grid/auto-resize

4.12.2 (2023-01-23)

Note: Version bump only for package @ui-grid/auto-resize

4.12.0 (2023-01-12)

Note: Version bump only for package @ui-grid/auto-resize

4.11.1 (2022-02-23)

Note: Version bump only for package @ui-grid/auto-resize

4.11.0 (2021-08-12)

Note: Version bump only for package @ui-grid/auto-resize

4.10.3 (2021-08-01)

Note: Version bump only for package @ui-grid/auto-resize

4.10.2 (2021-06-14)

Note: Version bump only for package @ui-grid/auto-resize

4.10.1 (2021-05-28)

Note: Version bump only for package @ui-grid/auto-resize

4.9.1 (2020-10-26)

Note: Version bump only for package @ui-grid/auto-resize

4.9.0 (2020-09-27)

Note: Version bump only for package @ui-grid/auto-resize

4.8.5 (2020-09-14)

Note: Add support for angular 1.8.0

4.8.4 (2020-09-14)

Note: Version bump only for package @ui-grid/auto-resize

4.8.2 (2019-10-07)

Note: Version bump only for package @ui-grid/auto-resize

4.8.1 (2019-06-27)

Note: Version bump only for package @ui-grid/auto-resize

4.8.0 (2019-05-02)

Note: Version bump only for package @ui-grid/auto-resize

4.7.0 (2019-02-01)

Note: Version bump only for package @ui-grid/auto-resize