Press "Enter" to skip to content

An AngularJS Module for Resizing Table Columns

angular resizing table is an AngularJS module for resizing table columns.

angular resizable columns, angularmaterial table resize columns, angular resizable element, resizable table columns, angular datatables resize column

How to make use of it:

Installation:

Bower
bower install angular-table-resize
NPM
npm install angular-table-resize

1. Quick Setup

<link rel="stylesheet" href="angular-table-resize.css">
<script src="jquery.js"></script>
<script src="angular.js"></script>
<script src="angular-table-resize.js"></script>

2. Add the module to your application.

angular.module('myApplication', ['rzTable']);

3. On an HTML table tag put the rz-table directive.

<table rz-table>...</table>

Options

You may supply optional/additional options to the module for your personalization:

  • onResizeStartedfunction(column) Callback function. Called when a column has been started resizing

  • onResizeEndedfunction(column) Callback function. Called when resizing a column has ended

  • onResizeInProgressfunction(column, newWidth, diffX) Callback function. Called for every tick in the resizing process.

  • tableClassstring The class was appended to the table for styling purposes. Default is rz-table (from angular-table-resize.css).

  • handleClassstring The class appended to handles for styling purposes. Default is rz-handle (from angular-table-resize.css).

  • handleClassActivestring The class is appended to the handle when a column is being resized. Default is rz-handle-active (from angular-table-resize.css).

angular module for resizable table, angular-table-resize Plugin/Github, angular material table adjust column width

See Demo And Download

Official Website(tympanix): Click Here

This superior jQuery/javascript plugin is developed by tympanix. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.