Skip to content

Latest commit

 

History

History
 
 

plugins

Notes

For anyone else writing plugins, please feel free to add to this readme.

Flexible-Height

Automatically resize a table to accomodate a varying number of rows.

Usage

A semi-ugly hack to make tables shrink automatically so you dont have big ugly gray space to worry about .

      plugins: [new ngGridFlexibleHeightPlugin()]

Options

    opts =
         { minHeight: <minimum height in px> }

CSV-Export

Usage

Add CSV Export to your ng-grid tables by including it in your plugins array:

      plugins: [new ngGridCsvExportPlugin()]

Options

    opts =
         { columnOverrides: < hash of column override functions > }

For arrays and objects you may want to override the default JSON.stringify conversion into strings.