From 5a64811c66693d8d65d3232e48136c34e510fd3c Mon Sep 17 00:00:00 2001 From: zolrag13 Date: Wed, 16 Mar 2016 21:33:14 +0900 Subject: [PATCH] Update README.md Added description for ignoreColumn option --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c4c2e01..6422c6c 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,9 @@ There is an extended setting for ``` jsPDF option 'format' ```. Setting the opti Also there is an extended setting for the ``` jsPDF-AutoTable options 'fillColor', 'textColor' and 'fontStyle'```. When setting these option values to ``` 'inherit' ``` the original css values for background and text color will be used as fill and text color while exporting to pdf. A css font-weight >= 700 results in a bold fontStyle and the italic css font-style will be used as italic fontStyle. +```ignoreColumn``` can be either an array of indexes (i.e. [0, 2]) or field names (i.e. ["id", "name"]). +* Indexes correspond to the position of the header elements `th` in the DOM starting at 0. (If the `th` elements are removed or added to the DOM, the indexes will be shifted so use the functionality wisely!) +* Field names should correspond to the values set on the "data-field" attribute of the header elements `th` in the DOM. Optional html data attributes =============================